-
-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Error log
ava.lang.RuntimeException: Unable to start activity ComponentInfo{com.ethran.notable/com.ethran.notable.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: Cannot open database '/storage/emulated/0/Documents/notabledb/app_database': Directory /storage/emulated/0/Documents/notabledb doesn't exist
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3468)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3632)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2093)
at android.os.Handler.dispatchMessage(ActivityThread.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7780)
at java.lang.reflect.Method.invoke(Method.java:-2)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
Possible cause
The app attempts to open the Room database at /storage/emulated/0/Documents/notabledb/app_database. According to code in getDbDir(), this folder should be created at app startup, but the error suggests it was not present when the database was opened. It is possible this is related to missing storage permission, folder deletion, replacement, or other file system state.
No confirmed reproduction case is known. Only the error log and code context are available.
App version: 0.1.7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working