Closed YuriyRum closed 2 years ago
This might be helpful. The crash log from Google Play Console:
java.lang.NoClassDefFoundError: at com.airwatch.app.KoinModule$appModules$1$75.invoke (KoinModule.java:23) at com.airwatch.app.KoinModule$appModules$1$75.invoke (KoinModule.java:4) at org.koin.core.instance.InstanceFactory.create (InstanceFactory.java:50) at org.koin.core.instance.SingleInstanceFactory.create (SingleInstanceFactory.java:38) at org.koin.core.instance.SingleInstanceFactory.get (SingleInstanceFactory.java:48) at org.koin.core.registry.InstanceRegistry.resolveInstance$koin_core (InstanceRegistry.java:87) at org.koin.core.scope.Scope.resolveInstance (Scope.java:214) at org.koin.core.scope.Scope.get (Scope.java:181) at org.koin.core.Koin.get (Koin.java:113) at org.koin.java.KoinJavaComponent.get (KoinJavaComponent.java:63) at org.koin.java.KoinJavaComponent.get$default (KoinJavaComponent.java:60) at com.airwatch.app.AWSDKApplicationDelegate.initializeWorkHourAccessControl (AWSDKApplicationDelegate.java:4) at com.airwatch.app.AWApplication.initializeWorkHourAccessControl (AWApplication.java:2) at com.airwatch.app.AWSDKApplicationDelegate.onCreate (AWSDKApplicationDelegate.java:178) at com.airwatch.app.AWApplication.onCreate (AWApplication.java:7) at com.vmware.workspaceone_sdk_flutter.WorkspaceOneSdkApplication.onCreate (WorkspaceOneSdkApplication.java:14) at com.airwatch.app.AWApplication.onCreate (AWApplication.java:3) at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1211) at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7429) at android.app.ActivityThread.access$1700 (ActivityThread.java:309) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2268) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loopOnce (Looper.java:226) at android.os.Looper.loop (Looper.java:313) at android.app.ActivityThread.main (ActivityThread.java:8582) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:563) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1133)
Can you try building the app again after updating the Koin version?
Might this be related to this issue? https://www.javafixing.com/2022/02/fixed-flutter-crashes-on-startup-didn.html
Might this be related to this issue? https://www.javafixing.com/2022/02/fixed-flutter-crashes-on-startup-didn.html
Thanks for the idea. In my case build process happens remotely in the GitLab, but I may not have set up the environment correctly.
Hello, Version 1.2.0 of the plugin works fine! It's a good solution for us. Thanks!
Hello,
our android app with airwatch SDK crashes at start up. We managed to identifier possible cause of these crashes:
Version of the plugin:
Build.gradle:
AndroidManifest.xml:
flutter doctor -v
Please let me know if you need additional info.
Thanks!
BR, Yuriy