java.lang.RuntimeException

Unable to start activity ComponentInfo{marketcloud.com.marketcloudexample/marketcloud.com.marketcloudexample.MainActivity}: android.view.InflateException: Binary XML file line #30: Error inflating class android.support.design.widget.NavigationView

Solutions on the web53060

  • Unable to start activity ComponentInfo{marketcloud.com.marketcloudexample/marketcloud.com.marketcloudexample.MainActivity}: android.view.InflateException: Binary XML file line #30: Error inflating class android.support.design.widget.NavigationView
  • via Stack Overflow by Jeremad
    , 1 year ago
    Unable to start activity ComponentInfo{com.plop.remote/com.plop.remote.MainActivity}: android.view.InflateException: Binary XML file line #30: Error inflating class android.support.design.widget.NavigationView
  • Unable to start activity ComponentInfo{com.toxic.apps.kodi/com.toxic.apps.kodi.Activities.MainActivity}: android.view.InflateException: Binary XML file line #30: Error inflating class android.support.design.widget.NavigationView
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{marketcloud.com.marketcloudexample/marketcloud.com.marketcloudexample.MainActivity}: android.view.InflateException: Binary XML file line #30: Error inflating class android.support.design.widget.NavigationView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2436) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2498) at android.app.ActivityThread.access$900(ActivityThread.java:179) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5641) 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:1288) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1104) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #30: Error inflating class android.support.design.widget.NavigationView at android.view.LayoutInflater.createView(LayoutInflater.java:626) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.view.LayoutInflater.inflate(LayoutInflater.java:354) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) at marketcloud.com.marketcloudexample.MainActivity.onCreate(MainActivity.java:32) at android.app.Activity.performCreate(Activity.java:5484) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2400) ... 11 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:600) ... 22 more Caused by: android.view.InflateException: Binary XML file line #13: Error inflating class ImageView at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:719) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.support.design.internal.NavigationMenuPresenter.inflateHeaderView(NavigationMenuPresenter.java:190) at android.support.design.widget.NavigationView.inflateHeaderView(NavigationView.java:250) at android.support.design.widget.NavigationView.<init>(NavigationView.java:172) at android.support.design.widget.NavigationView.<init>(NavigationView.java:94) ... 25 more Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f02006a a=-1 r=0x7f02006a} at android.content.res.Resources.loadDrawable(Resources.java:3402) at android.content.res.TypedArray.getDrawable(TypedArray.java:602) at android.widget.ImageView.<init>(ImageView.java:133) at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:58) at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:54) at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:95) at android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:938) at android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:992)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    7 times, 5 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    28 more bugmates