Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes on Android 5 #16

Open
matiasgarciaisaia opened this issue Sep 23, 2015 · 0 comments
Open

App crashes on Android 5 #16

matiasgarciaisaia opened this issue Sep 23, 2015 · 0 comments
Labels

Comments

@matiasgarciaisaia
Copy link
Contributor

Running on Android 5 the app would crash each time it's loaded.

Log extracted from testing on a Samsung S4 running Android 5.0.1:

09-22 23:14:12.566  14334-14334/? E/Zygote﹕ MountEmulatedStorage()
09-22 23:14:12.571  14334-14334/? E/Zygote﹕ v2
09-22 23:14:12.591  14334-14334/? E/SELinux﹕ [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
09-22 23:14:12.861  14334-14334/? E/TDCollateJSON﹕ Can't find SQLiteConnection.mConnectionPtr
09-22 23:14:12.861  14334-14334/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: org.unicef.gis:sync, PID: 14334
    java.lang.NoSuchFieldError: no "I" field "mConnectionPtr" in class "Landroid/database/sqlite/SQLiteConnection;" or its superclasses
            at com.couchbase.touchdb.TDCollateJSON.nativeRegisterCustomCollators(Native Method)
            at com.couchbase.touchdb.TDCollateJSON.registerCustomCollators(TDCollateJSON.java:11)
            at com.couchbase.cblite.CBLDatabase.open(CBLDatabase.java:232)
            at com.couchbase.cblite.CBLView.setMapReduceBlocks(CBLView.java:143)
            at org.unicef.gis.model.couchdb.views.UnicefGisView.setupView(UnicefGisView.java:24)
            at org.unicef.gis.model.couchdb.views.UnicefGisView.<init>(UnicefGisView.java:18)
            at org.unicef.gis.model.couchdb.views.AllReportsByTimestampDesc.<init>(AllReportsByTimestampDesc.java:19)
            at org.unicef.gis.infrastructure.data.CouchDbLiteStoreAdapter.<init>(CouchDbLiteStoreAdapter.java:47)
            at org.unicef.gis.sync.SyncAdapter.<init>(SyncAdapter.java:62)
            at org.unicef.gis.sync.SyncService.onCreate(SyncService.java:15)
            at android.app.ActivityThread.handleCreateService(ActivityThread.java:3148)
            at android.app.ActivityThread.access$1900(ActivityThread.java:177)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1531)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:145)
            at android.app.ActivityThread.main(ActivityThread.java:5942)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1389)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1184)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant