flutter downloader app crashes after after download from play store - android

Everything was fine before uploading the app on the App Store after upload when I download the app, the app gets a hard crashed and when I run the app I get this error in console
E/AndroidRuntime(12836): FATAL EXCEPTION: main
E/AndroidRuntime(12836): Process: com.app.bimaristaan, PID: 12836
E/AndroidRuntime(12836): java.lang.RuntimeException: Unable to get provider vn.hunghd.flutterdownloader.DownloadedFileProvlider: java.lang.ClassNotFoundException: Didn't find class "vn.hunghd.flutterdownloader.DownloadedFileProvlider" on path: DexPathList[[zip file "/data/app/~~SDFRjygIpeILGeeDdVLNTQ==/com.app.bimaristaan-65VGI5t_IkG0iNj3hMe_gg==/base.apk"],nativeLibraryDirectories=[/data/app/~~SDFRjygIpeILGeeDdVLNTQ==/com.app.bimaristaan-65VGI5t_IkG0iNj3hMe_gg==/lib/x86_64, /data/app/~~SDFRjygIpeILGeeDdVLNTQ==/com.app.bimaristaan-65VGI5t_IkG0iNj3hMe_gg==/base.apk!/lib/x86_64, /system/lib64, /system_ext/lib64]]

You made a mistake:
This:
"vn.hunghd.flutterdownloader.DownloadedFileProvlider"
Should be:
"vn.hunghd.flutterdownloader.DownloadedFileProvider"
You wrote Provlider it should be Provider

Related

Android flutter app not opening in internal testing

I submitted an app to google play and its status is at Draft (Internal Testing)
I can download the app, but can't open it.
In the google play console, I get:
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.mateusnevoli.mutiraoapp/com.mateusnevoli.mutiraoapp.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.mateusnevoli.mutiraoapp.MainActivity" on path: DexPathList[[zip file "/data/app/com.mateusnevoli.mutiraoapp-d_QXHX_h1GnTWZ0nKg4m5g==/base.apk", zip file "/data/app/com.mateusnevoli.mutiraoapp-d_QXHX_h1GnTWZ0nKg4m5g==/split_config.armeabi_v7a.apk", zip file "/data/app/com.mateusnevoli.mutiraoapp-d_QXHX_h1GnTWZ0nKg4m5g==/split_config.en.apk", zip file "/data/app/com.mateusnevoli.mutiraoapp-d_QXHX_h1GnTWZ0nKg4m5g==/split_config.hdpi.apk"],nativeLibraryDirectories=[/data/app/com.mateusnevoli.mutiraoapp-d_QXHX_h1GnTWZ0nKg4m5g==/lib/arm, /data/app/com.mateusnevoli.mutiraoapp-d_QXHX_h1GnTWZ0nKg4m5g==/base.apk!/lib/armeabi-v7a, /data/app/com.mateusnevoli.mutiraoapp-d_QXHX_h1GnTWZ0nKg4m5g==/split_config.armeabi_v7a.apk!/lib/armeabi-v7a, /data/app/com.mateusnevoli.mutiraoapp-d_QXHX_h1GnTWZ0nKg4m5g==/split_config.en.apk!/lib/armeabi-v7a, /data/app/com.mateusnevoli.mutiraoapp-d_QXHX_h1GnTWZ0nKg4m5g==/split_config.hdpi.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
I have no idea what to do. I followed the same steps as a previous app that worked fine.

Ionic/Cordova app does not find MainActivity

My app (Ionic 5 + Cordova 9.1.0) crashes when I try to start it on an Android 11 phone. When I look into the logs with logcat I see that the main activity is not found:
10-21 16:31:29.281 5300 5300 E AndroidRuntime:
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{de.meingolfclub.myapp/de.meingolfclub.myapp.MainActivity}:
java.lang.ClassNotFoundException: Didn't find class
"de.meingolfclub.myapp.MainActivity" on path: DexPathList[[zip file
"/data/app/~~7FMRVcshmIuFxkzCRS8B2g==/de.meingolfclub.myapp-kbOatrQJj_K4ZJHsuXESTg==/base.apk"],nativeLibraryDirectories=[/data/app/~~7FMRVcshmIuFxkzCRS8B2g==/de.meingolfclub.myapp-kbOatrQJj_K4ZJHsuXESTg==/lib/arm64,
/data/app/~~7FMRVcshmIuFxkzCRS8B2g==/de.meingolfclub.myapp-kbOatrQJj_K4ZJHsuXESTg==/base.apk!/lib/arm64-v8a,
/system/lib64, /system_ext/lib64]]
I googled a bit and it seems to be related to multiDex functionality of Android, but I have no idea how to fix this in an Ionic/Cordova project.
What can I do to solve this problem?
I solved it.
There was a wrong package name in MainActivity. After removing the Android platform and adding it again the package name was correct. And after a build the starts again.

Why would i get the below error(java.lang.UnsatisfiedLinkError) while running app authenticity in Android

I created an android app and I have put a code for app authenticity in it .
I followed the below URLs to Implement it.
application-authenticity-protection
application-authenticity-protection-native-android-applications
I am getting an error while testing it.
Can some body tell me when would we get the below error.
FATAL EXCEPTION: pool-3-thread-1
Process: com.mtb.mbk_vpn, PID: 10084
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.mtb.mbk_vpn-1/base.apk"],nativeLibraryDirectories=[/data/app/com.mtb.mbk_vpn-1/lib/x86, /data/app/com.mtb.mbk_vpn-1/base.apk!/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libauthjni.so"
at java.lang.Runtime.loadLibrary(Runtime.java:367)
at java.lang.System.loadLibrary(System.java:1076)
at com.worklight.common.security.AppAuthenticityToken.<init>(AppAuthenticityToken.java:30)
at com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler.handleChallenge(AuthenticityChallengeHandler.java:81)
at com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler.handleChallenge(AuthenticityChallengeHandler.java:32)
at com.worklight.wlclient.api.challengehandler.BaseChallengeHandler.startHandleChallenge(BaseChallengeHandler.java:71)
at com.worklight.wlclient.WLRequest.checkResponseForChallenges(WLRequest.java:626)
at com.worklight.wlclient.WLRequest.requestFinished(WLRequest.java:292)
at com.worklight.wlclient.WLRequestSender.run(WLRequestSender.java:52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
couldn't find "libauthjni.so" at java.lang.Runtime.loadLibrary
Looks to me like you did not copy all required SDK files from the NativeAPI you've created via CLI/Studio, into your native project in Android Studio/Eclipse.
Make sure you've done that.

GMS background crash

My app has recently started getting this error and giving an ANR whenever the user selects to open a maps app through my app. When you try to back out of the maps and return to my app, it's stuck on a black screen till it prompts the user to decide to kill it or wait. These are the only errors I can find in the log:
06-06 15:12:37.878 3283-3303/com.myapp E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/com.myapp-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
06-06 15:12:41.790 3365-3365/com.myapp:background_crash E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.android.gms.crash.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/com.myapp-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
This happens on Lollipop AND Marshmallow, and I have confirmed that the devices are up-to-date with Google Play Services.

RuntimeException: unable to instantiate application - Class not found?

I've been developing an app for some time now and have been deploying it straight to my device for testing. However, as the development is coming to a close, I've made the first version available on the google play store.
However, after downloading the app from the play store, it crashes immediately on startup. Fortunately android allows the end user to examine the stack trace, which appears as:
java.lang.RuntimeException: Unable to instantiate application com.jysoftware.jyapp.CustomApp:
java.lang.ClassNotFoundException: Didn't find class "com.jysoftware.jyapp.CustomApp"
on path: DexPathList[[zip file "/data/app/com.jysoftware.jyapp-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.jysoftware.jyapp-1, /vendor/lib, /system/lib]] .......
The ClassNotFound is the same class as referenced in my manifest as:
<application
android:name="com.jysoftware.jyapp.CustomApp"
....
</application>
Any ideas what could be causing this, or where I should start to look? I'm at a loss as to why this should work when it is directly deployed from eclipse but does not work when downloaded from the play store.

Categories

Resources