[1.1.0]io.objectbox.exception.DbException-->Could not create directory: /data/user/0/com.taoche.qctt/files/objectbox/objectbox
See original GitHub issuejava.lang.RuntimeException:Unable to create application com.taoche.qctt.app.App: io.objectbox.exception.DbException: Could not create directory: /data/data/com.taoche.qctt/files/objectbox/objectbox
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4886)
......
Caused by:
io.objectbox.exception.DbException:Could not create directory: /data/data/com.taoche.qctt/files/objectbox/objectbox
io.objectbox.BoxStore.<init>(BoxStore.java:178)
io.objectbox.BoxStoreBuilder.build(BoxStoreBuilder.java:243)
com.taoche.qctt.app.App.onCreate(App.java:64)
android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4862)
android.app.ActivityThread.access$1700(ActivityThread.java:169)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528)
android.os.Handler.dispatchMessage(Handler.java:102)
android.os.Looper.loop(Looper.java:159)
android.app.ActivityThread.main(ActivityThread.java:5671)
java.lang.reflect.Method.invoke(Native Method)
java.lang.reflect.Method.invoke(Method.java:372)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (11 by maintainers)
Top Results From Across the Web
Troubleshooting - ObjectBox Docs
Unresolved reference: MyObjectBox (class not found, etc.) ... Creating a Store throws a DbSchemaException and a message like. Incoming entity ID does not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@greenrobot We’ve released a new version with ObjectBox 1.2.0 and this bug report was not received again ,and the same as issure #230
I put the code into main process like tihs
I think this is the key to solving the problem,because @liujinchaoDS met the same bug when use the 1.2.1 version
We’ll make multi process stable in #193 so closing this now.