JackyAndroid / JackyAndroid/AndroidChromium

Chrome crash with "NoClassDefFoundError" exception--device compatibility

Open
#31 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
3.1k
Forks
746
PR merge metrics
No merged PRs in 30d

Description

In some devices (Samsung tab 3) Chrome app cannot be opened. Every time it crashes with following exception.

org.chromium.chrome.browser E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.chromium.chrome.browser, PID: 15079
java.lang.NoClassDefFoundError: org.chromium.chrome.browser.provider.ChromeBrowserProvider$1 at org.chromium.chrome.browser.provider.ChromeBrowserProvider.onCreate(ChromeBrowserProvider.java:248)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1591)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1562)
at android.app.ActivityThread.installProvider(ActivityThread.java:5221)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4815)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4698)
at android.app.ActivityThread.access$1600(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1365)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5598)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with org.chromium.chrome.browser.provider.ChromeBrowserProvider.java at line 248 and the supplied NoClassDefFoundError stack trace. Reproduce the startup failure on the affected Samsung Tab 3 or a comparable device, then verify that Chrome opens without this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.