DEV Community

Cover image for [HELP] Can't Launch Website Apps
Bayu Angora
Bayu Angora

Posted on

[HELP] Can't Launch Website Apps

Dear All

I build PWA and it's detected with good score ->
https://www.pwabuilder.com/reportcard?site=https://angora.id

But after I installed it on Mobile Chrome (Android) it can't be launched and getting error like this ->

Image description

java.lang.RuntimeException: Unable to get provider org.chromium.webapk.shell_apk.h2o.SplashContentProvider: java.lang.ClassNotFoundException: Didn't find class "org.chromium.webapk.shell_apk.h2o.SplashContentProvider" on path: DexPathList[[zip file "/data/app/org.chromium.webapk.aed72650bb8b07d40_v2-1/base.apk"],nativeLibraryDirectories=[/data/app/org.chromium.webapk.aed72650bb8b07d40_v2-1/lib/arm, /data/app/org.chromium.webapk.aed72650bb8b07d40_v2-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at android.app.ActivityThread.installProvider(ActivityThread.java:6105)
    at android.app.ActivityThread.installContentProviders(ActivityThread.java:5572)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5511)
    at android.app.ActivityThread.-wrap2(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1611)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:165)
    at android.app.ActivityThread.main(ActivityThread.java:6375)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.chromium.webapk.shell_apk.h2o.SplashContentProvider" on path: DexPathList[[zip file "/data/app/org.chromium.webapk.aed72650bb8b07d40_v2-1/base.apk"],nativeLibraryDirectories=[/data/app/org.chromium.webapk.aed72650bb8b07d40_v2-1/lib/arm, /data/app/org.chromium.webapk.aed72650bb8b07d40_v2-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:74)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    at android.app.ActivityThread.installProvider(ActivityThread.java:6081)
    ... 10 more
    Suppressed: java.io.IOException: Failed to open dex files from /data/app/org.chromium.webapk.aed72650bb8b07d40_v2-1/base.apk because: Failed to open dex file '/data/app/org.chromium.webapk.aed72650bb8b07d40_v2-1/base.apk' from memory: Unrecognized version number in /data/app/org.chromium.webapk.aed72650bb8b07d40_v2-1/base.apk: 0 3 8 
        at dalvik.system.DexFile.openDexFileNative(Native Method)
        at dalvik.system.DexFile.openDexFile(DexFile.java:373)
        at dalvik.system.DexFile.<init>(DexFile.java:113)
        at dalvik.system.DexFile.<init>(DexFile.java:78)
        at dalvik.system.DexPathList.loadDexFile(DexPathList.java:366)
        at dalvik.system.DexPathList.makeElements(DexPathList.java:327)
        at dalvik.system.DexPathList.makeDexElements(DexPathList.java:263)
        at dalvik.system.DexPathList.<init>(DexPathList.java:126)
        at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:62)
        at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
        at com.android.internal.os.PathClassLoaderFactory.createClassLoader(PathClassLoaderFactory.java:43)
        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:58)
        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:522)
        at android.app.LoadedApk.getClassLoader(LoadedApk.java:555)
        at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1942)
        at android.app.LoadedApk.getResources(LoadedApk.java:773)
        at android.app.ContextImpl.<init>(ContextImpl.java:2078)
        at android.app.ContextImpl.createAppContext(ContextImpl.java:2023)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5410)
        ... 8 more
Enter fullscreen mode Exit fullscreen mode

How to fix this problem?

Source:
https://angora.id/script.js
https://angora.id/service.js
https://angora.id/manifest.json

Thanks

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (2)

Collapse
 
eerk profile image
eerk

Maybe move this question to StackOverflow? You might get an answer faster. Dev.to is not really meant for solving bugs in code... I think...

Collapse
 
bayuangora profile image
Bayu Angora

Sentry mobile image

Improving mobile performance, from slow screens to app start time

Based on our experience working with thousands of mobile developer teams, we developed a mobile monitoring maturity curve.

Read more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay