java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fragmentmodularui/com.example.fragmentmodularui.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment

Stack Overflow | Pranesh Sahu | 4 months ago
  1. 0

    Fragment gives me an error while inflating 2

    Stack Overflow | 4 months ago | Pranesh Sahu
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fragmentmodularui/com.example.fragmentmodularui.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
  2. 0

    Android app won't start in bluestack

    Stack Overflow | 9 months ago | David Diaz
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.eureka4.studentdictionary/com.eureka4.studentdictionary.activity.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class fragment
  3. 0

    RecyclerView ClassNotFound

    Stack Overflow | 2 years ago | Rene Xu
    java.lang.ClassNotFoundException: Didn't find class "android.view.RecyclerView" on path: DexPathList[[zip file "/data/app/xxxx.apk"],nativeLibraryDirectories=[/data/app-lib/xxxx, /vendor/lib, /system/lib]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Chomecast Sender App: MediaRouteActionProvider

    Stack Overflow | 2 years ago | JRP
    java.lang.ClassNotFoundException: Didn't find class "android.support.v7.app.MediaRouteActionProvider" on path: DexPathList[[zip file "/data/app/com.victuallist.shred-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.victuallist.shred-1, /vendor/lib, /system/lib]]
  6. 0

    BlueStacks App Player - 4PDA

    4pda.ru | 9 months ago
    java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.chimera.container.DynamiteLoaderImpl" on path: DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/data/app/com.google.android.gms-1.apk", zip file "/data/data/com.google.android.gms/code_cache/secondary-dexes/com.google.android.gms-1.apk.classes2.zip", zip file "/data/data/com.google.android.gms/code_cache/secondary-dexes/com.google.android.gms-1.apk.classes3.zip", zip file "/data/data/com.google.android.gms/code_cache/secondary-dexes/com.google.android.gms-1.apk.classes4.zip"],nativeLibraryDirectories=[/data/app-lib/com.google.android.gms-1, /data/app-lib/com.google.android.gms-1, /data/app-lib/com.google.android.gms-1, /data/app-lib/com.google.android.gms-1, /data/app-lib/com.google.android.gms-1, /system/lib, /system/lib/arm, /data/downloads]]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    Didn't find class "com.example.fragmentdemo.FragmentA" on path: DexPathList[[zip file "/data/app/com.example.fragmentmodularui-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.fragmentmodularui-1, /system/lib]]

    at dalvik.system.BaseDexClassLoader.findClass()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:497)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:457)
    2 frames
  4. Android Platform
    Activity.onCreateView
    1. android.app.Fragment.instantiate(Fragment.java:583)
    2. android.app.Fragment.instantiate(Fragment.java:561)
    3. android.app.Activity.onCreateView(Activity.java:4778)
    3 frames
  5. Android Support v4
    FragmentActivity.onCreateView
    1. android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:34)
    2. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:80)
    2 frames
  6. com.example.fragmentmodularui
    MainActivity.onCreateView
    1. com.example.fragmentmodularui.MainActivity.onCreateView(MainActivity.java:1)
    1 frame
  7. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    5 frames
  8. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
    2 frames
  9. com.example.fragmentmodularui
    MainActivity.onCreate
    1. com.example.fragmentmodularui.MainActivity.onCreate(MainActivity.java:17)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5231)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
    5. android.app.ActivityThread.access$800(ActivityThread.java:135)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5001)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame