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
Related
dependency : onesignal_flutter: ^3.4.1
Getting error when intialize onesignal service,
i am receiving pushnotifications but when i receive any this will be the log or when i click to open or listen it , this will be the error , please help.
W/SQLiteLog( 8133): (28) double-quoted string literal: "notification"
W/System.err( 8133): java.lang.ClassNotFoundException: com.company.NotificationServiceExtension
W/System.err( 8133): at java.lang.Class.classForName(Native Method)
W/System.err( 8133): at java.lang.Class.forName(Class.java:454)
W/System.err( 8133): at java.lang.Class.forName(Class.java:379)
W/System.err( 8133): at com.onesignal.OSNotificationController.setupNotificationServiceExtension(OSNotificationController.java:190)
W/System.err( 8133): at com.onesignal.OneSignal.init(OneSignal.java:819)
W/System.err( 8133): at com.onesignal.OneSignal.setAppId(OneSignal.java:737)
W/System.err( 8133): at com.onesignal.OneSignal.initWithContext(OneSignal.java:769)
W/System.err( 8133): at com.onesignal.OSNotificationRestoreWorkManager$NotificationRestoreWorker.doWork(OSNotificationRestoreWorkManager.java:64)
W/System.err( 8133): at androidx.work.Worker$1.run(Worker.java:86)
W/System.err( 8133): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/System.err( 8133): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/System.err( 8133): at java.lang.Thread.run(Thread.java:923)
W/System.err( 8133): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.company.NotificationServiceExtension" on path: DexPathList[[zip file "/data/app/~~HoPiaGdWkTctR32PvHQv5w==/com.dukanor-bATfBGE6hTOPr_LqS0AWZw==/base.apk"],nativeLibraryDirectories=[/data/app/~~HoPiaGdWkTctR32PvHQv5w==/com.dukanor-bATfBGE6hTOPr_LqS0AWZw==/lib/arm64, /data/app/~~HoPiaGdWkTctR32PvHQv5w==/com.dukanor-bATfBGE6hTOPr_LqS0AWZw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
W/System.err( 8133): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
W/System.err( 8133): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
W/System.err( 8133): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
W/System.err( 8133): ... 12 more
here is the example i did.
initializeOneSignal([String? newEmail,String? store])async{
await OneSignal.shared.setLogLevel(OSLogLevel.verbose, OSLogLevel.none);
await OneSignal.shared.setAppId("xyz");
await OneSignal.shared.consentGranted(true);
await OneSignal.shared
.promptUserForPushNotificationPermission(fallbackToSettings: true);
await OneSignal.shared.setRequiresUserPrivacyConsent(true);
bool val=await OneSignal.shared.userProvidedPrivacyConsent();
print(val);
await OneSignal.shared.setExternalUserId(store??"" + ";" + newEmail.toString());
OneSignal.shared.setSubscriptionObserver((OSSubscriptionStateChanges changes) {});
OneSignal.shared.setNotificationWillShowInForegroundHandler((OSNotificationReceivedEvent event) {
Get.log('${DateTime.now()} [SignInController.onesingle] ${event.notification.additionalData}');
event.complete(event.notification);
});
OneSignal.shared.setNotificationOpenedHandler(
(OSNotificationOpenedResult result) async {
print('NOTIFICATION OPENED HANDLER CALLED WITH: $result');
print(
"Opened notification: ${result.notification.jsonRepresentation().replaceAll("\\n", "\n")}");
try {
var id = await result.notification.additionalData!["campaignId"];
if(id!=null){
getCampaign(id);
}
Get.log('${DateTime.now()} [SignInController.onesingle] setNotificationOpenedHandler id : $id ');
} catch (e) {
print(e.toString());
}
});
}
can anyone explain why flutter will at times crash and open a new tab in your editor highlighting some prebuilt flutter code, an example being when I implement Chewie video player
class _UploadPlayerState extends State<UploadPlayer> {
ChewieController? chewieController;
final VideoPlayerController videoPlayerController =
VideoPlayerController.network(
"gs://tourme-7a61d.appspot.com/User_uploadVideo/videoplayback.mp4");
#override
void initState() {
videoPlayerController.initialize();
chewieController = ChewieController(
videoPlayerController: videoPlayerController,
aspectRatio: 16 / 9,
autoPlay: true,
looping: true,
autoInitialize: true,
);
super.initState();
}
#override
void dispose() {
videoPlayerController.dispose();
chewieController!.dispose();
super.dispose();
}
#override
Widget build(BuildContext context) {
return Container(
color: Colors.black,
child: Center(child: Chewie(controller: chewieController!)),
);
}
When I try and run this code in the android emulator flutter crashes and tabs to future_impl.dart in Vscode and highlights line 44 if (!future._mayComplete) throw new StateError("Future already completed"); This is a really strange issue flutter has, I can only think that it has something to do with the implementation of the package I'm using.
I was able to get an output in the debug console which is
E/ExoPlayerImplInternal(14460): Playback error
E/ExoPlayerImplInternal(14460): com.google.android.exoplayer2.ExoPlaybackException: Source error
E/ExoPlayerImplInternal(14460): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:640)
E/ExoPlayerImplInternal(14460): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:612)
E/ExoPlayerImplInternal(14460): at android.os.Handler.dispatchMessage(Handler.java:102)
E/ExoPlayerImplInternal(14460): at android.os.Looper.loopOnce(Looper.java:201)
E/ExoPlayerImplInternal(14460): at android.os.Looper.loop(Looper.java:288)
E/ExoPlayerImplInternal(14460): at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal(14460): Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: java.net.MalformedURLException: unknown protocol: gs
E/ExoPlayerImplInternal(14460): at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:365)
E/ExoPlayerImplInternal(14460): at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:258)
E/ExoPlayerImplInternal(14460): at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
E/ExoPlayerImplInternal(14460): at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1009)
E/ExoPlayerImplInternal(14460): at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
E/ExoPlayerImplInternal(14460): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
E/ExoPlayerImplInternal(14460): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
E/ExoPlayerImplInternal(14460): at java.lang.Thread.run(Thread.java:1012)
E/ExoPlayerImplInternal(14460): Caused by: java.net.MalformedURLException: unknown protocol: gs
E/ExoPlayerImplInternal(14460): at java.net.URL.<init>(URL.java:608)
E/ExoPlayerImplInternal(14460): at java.net.URL.<init>(URL.java:498)
E/ExoPlayerImplInternal(14460): at java.net.URL.<init>(URL.java:447)
E/ExoPlayerImplInternal(14460): at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.makeConnection(DefaultHttpDataSource.java:507)
E/ExoPlayerImplInternal(14460): at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:359)
E/ExoPlayerImplInternal(14460): ... 7 more
Is work when the URL is available, the problem is when URL down make a long time ~1min to start another media.
I try to exit the Future after 4 seconds that print the warning and the app stay frozen
for ~1 min.
How I can handle this exception and avoid stopping the application?
Future<void> selectStation(Station item) async {
Future.delayed(const Duration(milliseconds: 500), () async {
try {
await _assetsAudioPlayer.open(Audio.liveStream(
item.url,
));
//_assetsAudioPlayer.onErrorDo = (handler) {
// handler.player.stop();
//};
} catch (e) {
await _assetsAudioPlayer.stop();
return;
}
}).timeout(Duration(seconds: 4), onTimeout: () async {
await _assetsAudioPlayer.stop();
CoolAlert.show(
context: context,
type: CoolAlertType.error,
text:
"the station ${item.title} is no available, try later <timeout>!",
);
return;
});
}
log flutter :
W/MediaPlayer( 7297): Couldn't open https://test.tt/media.mp3
W/MediaPlayer( 7297): java.io.FileNotFoundException: No content provider: https://test.tt/media.mp3
W/MediaPlayer( 7297): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1690)
W/MediaPlayer( 7297): at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1520)
W/MediaPlayer( 7297): at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1437)
W/MediaPlayer( 7297): at android.media.MediaPlayer.attemptDataSource(MediaPlayer.java:1174)
W/MediaPlayer( 7297): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1146)
W/MediaPlayer( 7297): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1170)
W/MediaPlayer( 7297): at com.github.florent37.assets_audio_player.playerimplem.PlayerImplemMediaPlayer$open$2.invokeSuspend(PlayerImplemMediaPlayer.kt:129)
W/MediaPlayer( 7297): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
W/MediaPlayer( 7297): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
W/MediaPlayer( 7297): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
W/MediaPlayer( 7297): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
W/MediaPlayer( 7297): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
W/MediaPlayer( 7297): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
I/OppoMediaPlayer( 7297): setDataSource(path, headers) isOppoCreate=false
V/MediaHTTPService( 7297): MediaHTTPService(android.media.MediaHTTPService#ddd12ca): Cookies: null
I/OppoMediaPlayer( 7297): prepare() isOppoCreate=false
V/MediaHTTPService( 7297): makeHTTPConnection: CookieManager created: java.net.CookieManager#516bc3b
V/MediaHTTPService( 7297): makeHTTPConnection(android.media.MediaHTTPService#ddd12ca): cookieHandler: java.net.CookieManager#516bc3b Cookies: null
E/MediaPlayerNative( 7297): error (1, -2147483648)
W/System.err( 7297): java.io.IOException: Prepare failed.: status=0x1
W/System.err( 7297): at android.media.MediaPlayer._prepare(Native Method)
W/System.err( 7297): at android.media.MediaPlayer.prepare(MediaPlayer.java:1414)
W/System.err( 7297): at com.github.florent37.assets_audio_player.playerimplem.PlayerImplemMediaPlayer$open$2.invokeSuspend(PlayerImplemMediaPlayer.kt:185)
W/System.err( 7297): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
W/System.err( 7297): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
W/System.err( 7297): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
W/System.err( 7297): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
W/System.err( 7297): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
W/System.err( 7297): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
I/OppoMediaPlayer( 7297): handleMediaPlayerError() mCurrentState=4
I/OppoMediaPlayer( 7297): handleMediaPlayerError() mNotUsingOppoMedia is true
I/MediaPlayer( 7297): prepare failed ,throw IOException to app
I/OppoMediaPlayer( 7297): release() isOppoCreate =false
D/OppoMediaPlayer( 7297): closeFd()
V/MediaPlayer( 7297): resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer( 7297): cleanDrmObj: mDrmObj=null mDrmSessionId=null
D/MediaPlayer( 7297): _release native called
D/MediaPlayer( 7297): _release native finished
W/System.err( 7297): com.github.florent37.assets_audio_player.playerimplem.PlayerFinder$NoPlayerFoundException
W/System.err( 7297): at com.github.florent37.assets_audio_player.playerimplem.PlayerFinder._findWorkingPlayer(PlayerFinder.kt:70)
W/System.err( 7297): at com.github.florent37.assets_audio_player.playerimplem.PlayerFinder._findWorkingPlayer(PlayerFinder.kt:88)
W/System.err( 7297): at com.github.florent37.assets_audio_player.playerimplem.PlayerFinder$_findWorkingPlayer$1.invokeSuspend(Unknown Source:12)
W/System.err( 7297): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
W/System.err( 7297): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
W/System.err( 7297): at android.os.Handler.handleCallback(Handler.java:883)
W/System.err( 7297): at android.os.Handler.dispatchMessage(Handler.java:100)
W/System.err( 7297): at android.os.Looper.loop(Looper.java:237)
W/System.err( 7297): at android.app.ActivityThread.main(ActivityThread.java:7830)
W/System.err( 7297): at java.lang.reflect.Method.invoke(Native Method)
W/System.err( 7297): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
W/System.err( 7297): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1040)
I/flutter ( 7297): PlatformException(OPEN, null, null, null)
Any help is welcome.
Player crashes when track file in invalid instead of giving some message.
https://github.com/florent37/Flutter-AssetsAudioPlayer/issues/627
I change the plugin.
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>;
}
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.