Where Room save database Android?

后端 未结 6 1885
借酒劲吻你
借酒劲吻你 2020-12-30 02:39

I am using Room library to save data in database.i want to get database.

used this code

  private void copyFile() {

        try {
            File s         


        
6条回答
  •  醉酒成梦
    2020-12-30 03:25

    According to doc getDatabasePath Returns the absolute path on the filesystem where a database created with openOrCreateDatabase(String, int, SQLiteDatabase.CursorFactory) is stored. In case of Room it is not working

提交回复
热议问题