java.lang.RuntimeException: Unable to start activity ComponentInfo{com.chromium.webviewdemo/com.chromium.webviewdemo.BrowserActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class us.costan.chrome.ChromeView

GitHub | Himanshu4003 | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to load ChromeView on device and Emulator as well.

    GitHub | 3 years ago | Himanshu4003
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.chromium.webviewdemo/com.chromium.webviewdemo.BrowserActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class us.costan.chrome.ChromeView
  2. 0

    Native method not found - AwContents.nativeInit

    GitHub | 4 years ago | YaakovDavis
    java.lang.UnsatisfiedLinkError: **Native method not found: org.chromium.android_webview.AwContents.nativeInit**:(Lorg/chromium/android_webview/AwWebContentsDelegate;Lorg/chromium/android_webview/AwContentsClientBridge;)I

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      Native method not found: org.chromium.android_webview.AwContents.nativeInit:(Lorg/chromium/android_webview/AwWebContentsDelegate;Lorg/chromium/android_webview/AwContentsClientBridge;)I

      at org.chromium.android_webview.AwContents.nativeInit()
    2. org.chromium.android_webview
      AwContents.<init>
      1. org.chromium.android_webview.AwContents.nativeInit(Native Method)
      2. org.chromium.android_webview.AwContents.<init>(AwContents.java:363)
      3. org.chromium.android_webview.AwContents.<init>(AwContents.java:323)
      3 frames
    3. us.costan.chrome
      ChromeView.<init>
      1. us.costan.chrome.ChromeView.<init>(ChromeView.java:91)
      1 frame
    4. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      2 frames
    5. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:594)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
      5 frames
    6. com.chromium.webviewdemo
      BrowserActivity$PlaceholderFragment.onCreateView
      1. com.chromium.webviewdemo.BrowserActivity$PlaceholderFragment.onCreateView(BrowserActivity.java:64)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performCreateView(Fragment.java:1700)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
      4. android.app.BackStackRecord.run(BackStackRecord.java:684)
      5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
      6. android.app.Activity.performStart(Activity.java:5240)
      7. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2168)
      8. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
      9. android.app.ActivityThread.access$800(ActivityThread.java:135)
      10. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      11. android.os.Handler.dispatchMessage(Handler.java:102)
      12. android.os.Looper.loop(Looper.java:136)
      13. android.app.ActivityThread.main(ActivityThread.java:5017)
      13 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame