java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Android app won't start in bluestack
    via Stack Overflow by David Diaz
    ,
  • RecyclerView ClassNotFound
    via Stack Overflow by Rene Xu
    ,
  • BlueStacks App Player - 4PDA
    via by Unknown author,
  • DraggablePanel error
    via GitHub by achinverma
    ,
    • 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 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) at android.app.ActivityThread.access$800(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5001) 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:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #11: Error inflating class fragment at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713) at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at android.view.LayoutInflater.inflate(LayoutInflater.java:353) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139) at com.example.fragmentmodularui.MainActivity.onCreate(MainActivity.java:17) at android.app.Activity.performCreate(Activity.java:5231) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148) ... 11 more Caused by: android.app.Fragment$InstantiationException: Unable to instantiate fragment com.example.fragmentdemo.FragmentA: make sure class name exists, is public, and has an empty constructor that is public at android.app.Fragment.instantiate(Fragment.java:597) at android.app.Fragment.instantiate(Fragment.java:561) at android.app.Activity.onCreateView(Activity.java:4778) at android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:34) at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:80) at com.example.fragmentmodularui.MainActivity.onCreateView(MainActivity.java:1) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689) ... 21 more Caused by: 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(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at android.app.Fragment.instantiate(Fragment.java:583) ... 27 more

    Users with the same issue

    jkjk
    3 times, last one,
    MacaponMacapon
    4 times, last one,
    filipebatistafilipebatista
    1 times, last one,
    Indri YunitaIndri Yunita
    4 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    155 more bugmates