Get FCM notification, APP exit immediately - flutter

I can get the content of the notification, but I will exit the APP
immediately after receiving the message
I have tried to change the permissions, but it is still unable to solve this problem
This is how I get notifications
class _MyHomePageState extends State<MyHomePage> {
#override
void initState() {
super.initState();
FirebaseMessaging.instance.subscribeToTopic('message');
FirebaseMessaging.instance.getToken().then((value) {
print(value);
});
FirebaseMessaging.onMessage.listen((event) {
print(event.notification.title);
widget.title = event.notification.title;
setState(() {});
});
}
#override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Firebase message'),
),
body: Center(
child: Text(widget.title),
),
);
}
}
This is my error
D/FLTFireMsgReceiver(28007): broadcast received for message
W/om.example.try(28007): Accessing hidden method Landroid/os/WorkSource;->add(I)Z (greylist,test-api, reflection, allowed)
W/om.example.try(28007): Accessing hidden method Landroid/os/WorkSource;->add(ILjava/lang/String;)Z (greylist,test-api, reflection, allowed)
W/om.example.try(28007): Accessing hidden method Landroid/os/WorkSource;->get(I)I (greylist, reflection, allowed)
W/om.example.try(28007): Accessing hidden method Landroid/os/WorkSource;->getName(I)Ljava/lang/String; (greylist, reflection, allowed)
D/AndroidRuntime(28007): Shutting down VM
E/AndroidRuntime(28007): FATAL EXCEPTION: main
E/AndroidRuntime(28007): Process: com.example.try2, PID: 28007
E/AndroidRuntime(28007): java.lang.RuntimeException: Unable to create service com.example.try2.java.MyFirebaseMessagingService: java.lang.ClassNotFoundException: Didn't find class "com.example.try2.java.MyFirebaseMessagingService" on path: DexPathList[[zip file "/data/app/~~miA_E951nYH_yhkMq_5LQw==/com.example.try2-KPYqGUQO218syRAWeGkXrw==/base.apk"],nativeLibraryDirectories=[/data/app/~~miA_E951nYH_yhkMq_5LQw==/com.example.try2-KPYqGUQO218syRAWeGkXrw==/lib/arm64, /data/app/~~miA_E951nYH_yhkMq_5LQw==/com.example.try2-KPYqGUQO218syRAWeGkXrw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64, /product/lib64]]
E/AndroidRuntime(28007): at android.app.ActivityThread.handleCreateService(ActivityThread.java:4198)
E/AndroidRuntime(28007): at android.app.ActivityThread.access$1500(ActivityThread.java:237)
E/AndroidRuntime(28007): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)
E/AndroidRuntime(28007): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(28007): at android.os.Looper.loop(Looper.java:223)
E/AndroidRuntime(28007): at android.app.ActivityThread.main(ActivityThread.java:7664)
E/AndroidRuntime(28007): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(28007): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/AndroidRuntime(28007): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/AndroidRuntime(28007): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.try2.java.MyFirebaseMessagingService" on path: DexPathList[[zip file "/data/app/~~miA_E951nYH_yhkMq_5LQw==/com.example.try2-KPYqGUQO218syRAWeGkXrw==/base.apk"],nativeLibraryDirectories=[/data/app/~~miA_E951nYH_yhkMq_5LQw==/com.example.try2-KPYqGUQO218syRAWeGkXrw==/lib/arm64, /data/app/~~miA_E951nYH_yhkMq_5LQw==/com.example.try2-KPYqGUQO218syRAWeGkXrw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64, /product/lib64]]
E/AndroidRuntime(28007): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
E/AndroidRuntime(28007): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime(28007): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime(28007): at android.app.AppComponentFactory.instantiateService(AppComponentFactory.java:129)
E/AndroidRuntime(28007): at androidx.core.app.CoreComponentFactory.instantiateService(CoreComponentFactory.java:66)
E/AndroidRuntime(28007): at android.app.ActivityThread.handleCreateService(ActivityThread.java:4177)
E/AndroidRuntime(28007): ... 8 more
I/Process (28007): Sending signal. PID: 28007 SIG: 9
Lost connection to device.

Related

FlutterNaverLogin Error when press the button

2022-11-23 16:22:26.428 688-688/? W/keymaster_tee: [WRN]begin req PARAMS: A32 B32 P1
2022-11-23 16:22:26.431 687-29628/? I/keystore2: keystore2::security_level: In create_operation. Success to create IKeystoreOperation. 10565, None
2022-11-23 16:22:26.433 688-688/? W/keymaster_tee: [WRN]Cmd 10, err -30
2022-11-23 16:22:26.433 687-29628/? E/keystore2: keystore2::error: In KeystoreOperation::finish
Caused by:
0: In finish: KeyMint::finish failed.
1: Error::Km(ErrorCode(-30))
2022-11-23 16:22:26.434 7907-7907/? W/b: encountered a potentially transient KeyStore error, will wait and retry
javax.crypto.AEADBadTagException
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:617)
at javax.crypto.Cipher.doFinal(Cipher.java:2114)
at f.d.c.a.v.a.b.c(Unknown Source:32)
at f.d.c.a.v.a.b.b(Unknown Source:0)
at f.d.c.a.i.c(Unknown Source:11)
at f.d.c.a.i.j(Unknown Source:9)
at f.d.c.a.v.a.a$b.e(Unknown Source:6)
at f.d.c.a.v.a.a$b.f(Unknown Source:0)
at f.d.c.a.v.a.a$b.d(Unknown Source:11)
at e.m.a.a.b(Unknown Source:47)
at e.m.a.a.a(Unknown Source:4)
at com.navercorp.nid.oauth.a.h(Unknown Source:14)
at com.navercorp.nid.oauth.a.b(Unknown Source:0)
at com.navercorp.nid.oauth.a$a.a(Unknown Source:2)
at com.navercorp.nid.oauth.a$a.invoke(Unknown Source:0)
at kotlin.t.getValue(Unknown Source:22)
at com.navercorp.nid.oauth.a.f(Unknown Source:2)
at com.navercorp.nid.oauth.a.d(Unknown Source:6)
at com.navercorp.nid.oauth.h.c(Unknown Source:5)
at f.g.a.a.i(Unknown Source:0)
at f.g.a.a.a(Unknown Source:15)
at f.j.a.b.d(Unknown Source:18)
at f.j.a.b.onMethodCall(Unknown Source:20)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source:17)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(Unknown Source:18)
at io.flutter.embedding.engine.dart.DartMessenger.a(Unknown Source:20)
at io.flutter.embedding.engine.dart.a.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: android.security.KeyStoreException: Signature/MAC verification failed (internal Keystore code: -30 message: In KeystoreOperation::finish
Caused by:
0: In finish: KeyMint::finish failed.
1: Error::Km(ErrorCode(-30))) (public error code: 10 internal Keystore code: -30)
at android.security.KeyStore2.getKeyStoreException(KeyStore2.java:418)
at android.security.KeyStoreOperation.handleExceptions(KeyStoreOperation.java:78)
at android.security.KeyStoreOperation.finish(KeyStoreOperation.java:128)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer$MainDataStream.finish(KeyStoreCryptoOperationChunkedStreamer.java:228)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:181)
at android.security.keystore2.AndroidKeyStoreAuthenticatedAESCipherSpi$BufferAllOutputUntilDoFinalStreamer.doFinal(AndroidKeyStoreAuthenticatedAESCipherSpi.java:396)
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:609)
... 34 more
2022-11-23 16:22:26.443 688-688/? W/keymaster_tee: [WRN]begin req PARAMS: A32 B32 P1
2022-11-23 16:22:26.446 687-29628/? I/keystore2: keystore2::security_level: In create_operation. Success to create IKeystoreOperation. 10565, None
2022-11-23 16:22:26.449 688-688/? W/keymaster_tee: [WRN]Cmd 10, err -30
2022-11-23 16:22:26.450 687-29628/? E/keystore2: keystore2::error: In KeystoreOperation::finish
Caused by:
0: In finish: KeyMint::finish failed.
1: Error::Km(ErrorCode(-30))
2022-11-23 16:22:26.450 7907-7907/? W/a: cannot decrypt keyset:
javax.crypto.AEADBadTagException
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:617)
at javax.crypto.Cipher.doFinal(Cipher.java:2114)
at f.d.c.a.v.a.b.c(Unknown Source:32)
at f.d.c.a.v.a.b.b(Unknown Source:18)
at f.d.c.a.i.c(Unknown Source:11)
at f.d.c.a.i.j(Unknown Source:9)
at f.d.c.a.v.a.a$b.e(Unknown Source:6)
at f.d.c.a.v.a.a$b.f(Unknown Source:0)
at f.d.c.a.v.a.a$b.d(Unknown Source:11)
at e.m.a.a.b(Unknown Source:47)
at e.m.a.a.a(Unknown Source:4)
at com.navercorp.nid.oauth.a.h(Unknown Source:14)
at com.navercorp.nid.oauth.a.b(Unknown Source:0)
at com.navercorp.nid.oauth.a$a.a(Unknown Source:2)
at com.navercorp.nid.oauth.a$a.invoke(Unknown Source:0)
at kotlin.t.getValue(Unknown Source:22)
at com.navercorp.nid.oauth.a.f(Unknown Source:2)
at com.navercorp.nid.oauth.a.d(Unknown Source:6)
at com.navercorp.nid.oauth.h.c(Unknown Source:5)
at f.g.a.a.i(Unknown Source:0)
at f.g.a.a.a(Unknown Source:15)
at f.j.a.b.d(Unknown Source:18)
at f.j.a.b.onMethodCall(Unknown Source:20)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source:17)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(Unknown Source:18)
at io.flutter.embedding.engine.dart.DartMessenger.a(Unknown Source:20)
at io.flutter.embedding.engine.dart.a.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: android.security.KeyStoreException: Signature/MAC verification failed (internal Keystore code: -30 message: In KeystoreOperation::finish
Caused by:
0: In finish: KeyMint::finish failed.
1: Error::Km(ErrorCode(-30))) (public error code: 10 internal Keystore code: -30)
at android.security.KeyStore2.getKeyStoreException(KeyStore2.java:418)
at android.security.KeyStoreOperation.handleExceptions(KeyStoreOperation.java:78)
at android.security.KeyStoreOperation.finish(KeyStoreOperation.java:128)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer$MainDataStream.finish(KeyStoreCryptoOperationChunkedStreamer.java:228)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:181)
at android.security.keystore2.AndroidKeyStoreAuthenticatedAESCipherSpi$BufferAllOutputUntilDoFinalStreamer.doFinal(AndroidKeyStoreAuthenticatedAESCipherSpi.java:396)
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:609)
... 34 more
2022-11-23 16:22:26.451 7907-7907/? E/DartMessenger: Uncaught exception in binary message listener
f.d.c.a.z.a.c0: Protocol message contained an invalid tag (zero).
at f.d.c.a.z.a.z.K(Unknown Source:74)
at f.d.c.a.z.a.z.G(Unknown Source:2)
at f.d.c.a.y.c0.X(Unknown Source:2)
at f.d.c.a.v.a.d.a(Unknown Source:8)
at f.d.c.a.b.a(Unknown Source:0)
at f.d.c.a.v.a.a$b.e(Unknown Source:29)
at f.d.c.a.v.a.a$b.f(Unknown Source:0)
at f.d.c.a.v.a.a$b.d(Unknown Source:11)
at e.m.a.a.b(Unknown Source:47)
at e.m.a.a.a(Unknown Source:4)
at com.navercorp.nid.oauth.a.h(Unknown Source:14)
at com.navercorp.nid.oauth.a.b(Unknown Source:0)
at com.navercorp.nid.oauth.a$a.a(Unknown Source:2)
at com.navercorp.nid.oauth.a$a.invoke(Unknown Source:0)
at kotlin.t.getValue(Unknown Source:22)
at com.navercorp.nid.oauth.a.f(Unknown Source:2)
at com.navercorp.nid.oauth.a.d(Unknown Source:6)
at com.navercorp.nid.oauth.h.c(Unknown Source:5)
at f.g.a.a.i(Unknown Source:0)
at f.g.a.a.a(Unknown Source:15)
at f.j.a.b.d(Unknown Source:18)
at f.j.a.b.onMethodCall(Unknown Source:20)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source:17)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(Unknown Source:18)
at io.flutter.embedding.engine.dart.DartMessenger.a(Unknown Source:20)
at io.flutter.embedding.engine.dart.a.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
2022-11-23 16:22:26.451 7907-7966/? I/flutter: naver login error MissingPluginException(No implementation found for method logIn on channel flutter_naver_login)
If I try to login with Naver, I see this log and get an error.
Appears only on one specific device (Galaxy S21)
Other Galaxy s21s do not generate errors, but only on one device.
If you press the button, it doesn't respond.
I think FlutterNaverLogin.login() doesn't work when I press the Login button.

App using flutter_inappwebview Crash after calling from out main.dart

I am using flutter_inappwebview: ^5.3.2 for implementation 3rd part payment gateway when I call the method from main.dart its running and working
but when I call it from other like cart.dart,checkout.dart, urwaypayment.dart The App crash immediately before Webview appear
this is the Calling method
result = await Navigator.of(context).push(
MaterialPageRoute<String>(builder: (BuildContext context) {
return new TransactPage(inURL: compURL);
}));
and this error meassage
I/Dialog (30035): mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
W/Gralloc4(30035): allocator 3.x is not supported
W/Gralloc3(30035): allocator 3.x is not supported
W/com.amart1.app(30035): Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setUseSessionTickets(Z)V (greylist-max-q,core-platform-api, reflection, denied)
E/AndroidRuntime(30035): FATAL EXCEPTION: main
E/AndroidRuntime(30035): Process: com.amart1.app, PID: 30035
E/AndroidRuntime(30035): java.lang.ExceptionInInitializerError
E/AndroidRuntime(30035): at okhttp3.OkHttpClient.(OkHttpClient.kt:211)
E/AndroidRuntime(30035): at okhttp3.OkHttpClient.(OkHttpClient.kt:204)
E/AndroidRuntime(30035): at com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView.prepare(InAppWebView.java:184)
E/AndroidRuntime(30035): at com.pichillilorenzo.flutter_inappwebview.in_app_webview.FlutterWebView.(FlutterWebView.java:94)
E/AndroidRuntime(30035): at com.pichillilorenzo.flutter_inappwebview.in_app_webview.FlutterWebViewFactory.create(FlutterWebViewFactory.java:26)
E/AndroidRuntime(30035): at io.flutter.plugin.platform.SingleViewPresentation.onCreate(SingleViewPresentation.java:186)
E/AndroidRuntime(30035): at android.app.Dialog.dispatchOnCreate(Dialog.java:708)
E/AndroidRuntime(30035): at android.app.Dialog.show(Dialog.java:422)
E/AndroidRuntime(30035): at android.app.Presentation.show(Presentation.java:285)
E/AndroidRuntime(30035): at io.flutter.plugin.platform.VirtualDisplayController.(VirtualDisplayController.java:95)
E/AndroidRuntime(30035): at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:48)
E/AndroidRuntime(30035): at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:207)
E/AndroidRuntime(30035): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/AndroidRuntime(30035): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/AndroidRuntime(30035): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/AndroidRuntime(30035): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/AndroidRuntime(30035): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
E/AndroidRuntime(30035): at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime(30035): at android.os.MessageQueue.next(MessageQueue.java:335)
E/AndroidRuntime(30035): at android.os.Looper.loop(Looper.java:206)
E/AndroidRuntime(30035): at android.app.ActivityThread.main(ActivityThread.java:8512)
E/AndroidRuntime(30035): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(30035): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
E/AndroidRuntime(30035): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
E/AndroidRuntime(30035): Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 30
E/AndroidRuntime(30035): at okhttp3.internal.platform.AndroidPlatform$Companion.buildIfSupported(AndroidPlatform.kt:370)
E/AndroidRuntime(30035): at okhttp3.internal.platform.Platform$Companion.findPlatform(Platform.kt:204)
E/AndroidRuntime(30035): at okhttp3.internal.platform.Platform$Companion.access$findPlatform(Platform.kt:178)
E/AndroidRuntime(30035): at okhttp3.internal.platform.Platform.(Platform.kt:179)
E/AndroidRuntime(30035): ... 24 more
I/Process (30035): Sending signal. PID: 30035 SIG: 9
Lost connection to device.

how to solve FATAL EXCEPTION: AsyncTask #2 in flutter

I am using video_editor package in flutter. When I at debug mode it works and no error but when I release the apk, the apps clash and show the error :
D/flutter-ffmpeg(10753): Getting media information for /data/user/0/com.example.apps/cache/file_picker/Screenrecorder-2021-05-19-15-53-57-515.mp4.
E/AndroidRuntime(10753): FATAL EXCEPTION: AsyncTask #2
E/AndroidRuntime(10753): Process: com.example.apps, PID: 10753
E/AndroidRuntime(10753): java.lang.RuntimeException: An error occurred while executing doInBackground()
E/AndroidRuntime(10753): at android.os.AsyncTask$4.done(AsyncTask.java:399)
E/AndroidRuntime(10753): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
E/AndroidRuntime(10753): at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
E/AndroidRuntime(10753): at java.util.concurrent.FutureTask.run(FutureTask.java:271)
E/AndroidRuntime(10753): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(10753): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(10753): at java.lang.Thread.run(Thread.java:919)
E/AndroidRuntime(10753): Caused by: java.lang.UnsatisfiedLinkError: Bad JNI version returned from JNI_OnLoad in "/data/app/com.example.apps-QO20kuBv0uYvExYVArrO7A==/lib/arm64/libmobileffmpeg.so": 0
E/AndroidRuntime(10753): at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
E/AndroidRuntime(10753): at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
E/AndroidRuntime(10753): at java.lang.System.loadLibrary(System.java:1667)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.Config.<clinit>(Unknown Source:148)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.Config.nativeFFprobeExecute(Native Method)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.f.a(Unknown Source:0)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.f.b(Unknown Source:0)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.f.a(Unknown Source:48)
E/AndroidRuntime(10753): at c.b.a.a.c.a(Unknown Source:21)
E/AndroidRuntime(10753): at c.b.a.a.c.doInBackground(Unknown Source:2)
E/AndroidRuntime(10753): at android.os.AsyncTask$3.call(AsyncTask.java:378)
E/AndroidRuntime(10753): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/AndroidRuntime(10753): ... 3 more
Does anyone know how to solve this error?
Please check that all required dependencies are included within "dependencies:" in pubspec.yaml. Dependencies declared inside "dev_dependencies:" are not included in released app
Add the following entries into your proguard-rules.pro file. If you don't have this file you can create and put in app folder.
-keep class com.arthenica.mobileffmpeg.Config {
native <methods>;
void log(long, int, byte[]);
void statistics(long, int, float, float, long , int, double, double);
}
-keep class com.arthenica.mobileffmpeg.AbiDetect {
native <methods>;
}

Crash report. Can you help me with this crash?

I have a Flutter project which has very simple functionality it basically has an AppBar and a WebView Here is the link for this dependency
Here is what I have so far
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
void main() => runApp(Almahdyoon());
class Almahdyoon extends StatelessWidget {
const Almahdyoon({Key key}) : super(key: key);
#override
Widget build(BuildContext context) {
WebViewController _controller;
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text("Almahdyoon"),
),
body: Container(
child: PageView(
children: <Widget>[
WebView(
initialUrl: 'https://almahdyoon.com',
javascriptMode: JavascriptMode.unrestricted,
onWebViewCreated: (WebViewController webViewController) {
_controller = webViewController;
},
),
],
),
),
),
);
}
}
And this is the Crash Report
W/System.err( 3827): java.lang.ClassCastException: $Proxy0 cannot be cast to android.view.WindowManagerImpl
W/System.err( 3827): at android.view.Window.setWindowManager(Window.java:793)
W/System.err( 3827): at android.view.Window.setWindowManager(Window.java:775)
W/System.err( 3827): at android.app.Dialog.<init>(Dialog.java:207)
W/System.err( 3827): at android.app.AlertDialog.<init>(AlertDialog.java:204)
W/System.err( 3827): at android.app.AlertDialog$Builder.create(AlertDialog.java:1105)
W/System.err( 3827): at qy.<init>(PG:6)
W/System.err( 3827): at org.chromium.content.browser.input.SelectPopup.show(PG:12)
W/System.err( 3827): at android.os.MessageQueue.nativePollOnce(Native Method)
W/System.err( 3827): at android.os.MessageQueue.next(MessageQueue.java:335)
W/System.err( 3827): at android.os.Looper.loop(Looper.java:176)
W/System.err( 3827): at android.app.ActivityThread.main(ActivityThread.java:7506)
W/System.err( 3827): at java.lang.reflect.Method.invoke(Native Method)
W/System.err( 3827): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err( 3827): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:956)
F/chromium( 3827): [FATAL:jni_android.cc(249)] Please include Java exception stack in crash report
F/libc ( 3827): Fatal signal 5 (SIGTRAP), code -6 (SI_TKILL) in tid 3827 (mple.almahdyoon), pid 3827 (mple.almahdyoon)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone_x86/generic_x86_arm:R/RPP1.200123.019/6239754:userdebug/dev-keys'
Revision: '0'
ABI: 'x86'
Timestamp: 2020-04-29 08:38:56+0300
pid: 3827, tid: 3827, name: mple.almahdyoon >>> com.example.almahdyoon <<<
uid: 10159
signal 5 (SIGTRAP), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:jni_android.cc(249)] Please include Java exception stack in crash report
'
eax 00000000 ebx ca629aa8 ecx 00000081 edx 7fffffff
edi ffd23110 esi ec4596c4
ebp ffd23590 esp ffd23110 eip c62ee3ff
backtrace:
#00 pc 008493ff /product/app/TrichromeLibrary/TrichromeLibrary.apk!libmonochrome.so (offset 0x665000) (BuildId: d06485c6257dc0307dac1d873bb515827815a934)
Lost connection to device.
Exited (sigterm)
Can you help me solve this in Flutter? I saw articles on how to solve this in Android/Java but haven't in Flutter
I had this problem when using the AVD emulator. The solution is to be able to use the emulator again by wipe data via the menu AVD Manager > Actions > Wipe Data

Flutter app crashes after update on startup in Android

My app is experiencing the crash below:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: tech.vgts.lmes, PID: 4228
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/auth/internal/InternalAuthProvider;
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:453)
at java.lang.Class.forName(Class.java:378)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-common##17.0.0:78)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-common##17.0.0:71)
at com.google.firebase.FirebaseApp.<init>(com.google.firebase:firebase-common##17.0.0:468)
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common##17.0.0:354)
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common##17.0.0:321)
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common##17.0.0:305)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(com.google.firebase:firebase-common##17.0.0:53)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1917)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1892)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(com.google.firebase:firebase-common##17.0.0:47)
at android.app.ActivityThread.installProvider(ActivityThread.java:6239)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5805)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5722)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.auth.internal.InternalAuthProvider
at java.lang.VMClassLoader.findLoadedClass(Native Method)
at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at java.lang.Class.classForName(Native Method) 
at java.lang.Class.forName(Class.java:453) 
at java.lang.Class.forName(Class.java:378) 
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-common##17.0.0:78) 
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-common##17.0.0:71) 
at com.google.firebase.FirebaseApp.<init>(com.google.firebase:firebase-common##17.0.0:468) 
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common##17.0.0:354) 
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common##17.0.0:321) 
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common##17.0.0:305) 
at com.google.firebase.provider.FirebaseInitProvider.onCreate(com.google.firebase:firebase-common##17.0.0:53) 
at android.content.ContentProvider.attachInfo(ContentProvider.java:1917) 
at android.content.ContentProvider.attachInfo(ContentProvider.java:1892) 
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(com.google.firebase:firebase-common##17.0.0:47) 
at android.app.ActivityThread.installProvider(ActivityThread.java:6239) 
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5805) 
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5722) 
at android.app.ActivityThread.-wrap1(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656) 
at android.os.Handler.dispatchMessage(Handler.java:106) 
at android.os.Looper.loop(Looper.java:164) 
at android.app.ActivityThread.main(ActivityThread.java:6494) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) 
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/internal/InternalTokenProvider;
at java.lang.Class.classForName(Native Method) 
at java.lang.Class.forName(Class.java:453) 
at java.lang.Class.forName(Class.java:378) 
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-common##17.0.0:78) 
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-common##17.0.0:71) 
at com.google.firebase.FirebaseApp.<init>(com.google.firebase:firebase-common##17.0.0:468) 
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common##17.0.0:354) 
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common##17.0.0:321) 
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common##17.0.0:305) 
at com.google.firebase.provider.FirebaseInitProvider.onCreate(com.google.firebase:firebase-common##17.0.0:53) 
at android.content.ContentProvider.attachInfo(ContentProvider.java:1917) 
at android.content.ContentProvider.attachInfo(ContentProvider.java:1892) 
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(com.google.firebase:firebase-common##17.0.0:47) 
at android.app.ActivityThread.installProvider(ActivityThread.java:6239) 
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5805) 
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5722) 
at android.app.ActivityThread.-wrap1(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656) 
at android.os.Handler.dispatchMessage(Handler.java:106) 
at android.os.Looper.loop(Looper.java:164) 
at android.app.ActivityThread.main(ActivityThread.java:6494) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
I changed my dependency from:
firebase_auth:
to:
firebase_auth: 0.11.1