I'm getting the warning messages 'Failed to chmod' and 'chmod failed: EPERM (Operation not permitted)' when I execute my app on my Android phone. The code below occurs them.
SQLiteDatabase db = openOrCreateDatabase("/sdcard/my_data.db", MODE_PRIVATE, null);
-
With a path like above, I get the warning. But without a path, no warning.
-
Warning with my phone, but no warning with Genymotion.
-
Even though the warning occurs, the app works fine.
-
My phone is Samsung Note2 and the android version is 4.4.2. The android version of the emulator is 4.3.
May I ignore the warning?
Aucun commentaire:
Enregistrer un commentaire