I’m having difficulty running an app that I’ve published on the Google play store.
An error keeps occurring when installing an application via the play store, but not during debugging or testing. It results in a crash, preventing the use of the application.
I believe the crash occurs while initiating the database as this starts, but never succeeds.
The error is:
E/flutter: [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(39)] java.lang.NoSuchMethodError: no static method “Lcom/couchbase/litecore/C4Log;.logCallback(Ljava/lang/String;ILjava/lang/String;)V”
at com.couchbase.litecore.C4Log.setCallbackLevel(Native Method)
at com.couchbase.a.ar.(Unknown Source:23)
at com.couchbase.a.a.(Unknown Source:5)
at com.b.a.a.b(Unknown Source:8)
at com.b.a.c$a.onMethodCall(Unknown Source:1043)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source:17)
at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(Unknown Source:59)
at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(Unknown Source:6)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:325)
at android.os.Looper.loop(Looper.java:142)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
I’m using flutter for development and [GitHub - SaltechSystems/couchbase_lite: Flutter plugin for the Community edition of Couchbase Lite. Couchbase Lite is an embedded lightweight, document-oriented (NoSQL), syncable database engine.](this couchbase lite plugin) to access couchbase lite. I don’t believe it’s an issue with the plugin or my code, but rather with couchbase calling a method that doesn’t exist.