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.

  • The library doesn't work
    via GitHub by KChernenko
    ,
  • Android example error
    via GitHub by ruanwz
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fragmentdemo/com.example.fragmentdemo.MainActivity}: android.view.InflateException: Binary XML file line #12: 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 #12: 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 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290) at android.app.Activity.setContentView(Activity.java:1929) at com.example.fragmentdemo.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.content.res.Resources$NotFoundException: Resource ID #0x7f090051 type #0x12 is not valid at android.content.res.Resources.loadXmlResourceParser(Resources.java:2314) at android.content.res.Resources.getLayout(Resources.java:939) at android.view.LayoutInflater.inflate(LayoutInflater.java:395) at com.example.fragmentdemo.FragmentB.onCreateView(FragmentB.java:25) at android.app.Fragment.performCreateView(Fragment.java:1700) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:866) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1040) at android.app.FragmentManagerImpl.addFragment(FragmentManager.java:1142) at android.app.Activity.onCreateView(Activity.java:4786) at android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:34) at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:80) at com.example.fragmentdemo.MainActivity.onCreateView(MainActivity.java:1) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689) ... 21 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Saravana Kumar Chinnaraj
    30 times, last one,
    dmitry
    71 times, last one,
    Sunny Kumar Aditya
    1 times, last one,
    Unknown visitor1 times, last one,