java.lang.RuntimeException

Unable to start activity ComponentInfo{com.example.pk.testing_app2/com.example.pk.testing_app2.SplashScreenActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class <unknown>

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web174

  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pk.testing_app2/com.example.pk.testing_app2.SplashScreenActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class <unknown> at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391) at android.app.ActivityThread.access$900(ActivityThread.java:166) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5511) 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:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #14: Error inflating class <unknown> at android.view.LayoutInflater.createView(LayoutInflater.java:626) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 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 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:366) at android.app.Activity.setContentView(Activity.java:2009) at com.example.pk.testing_app2.SplashScreenActivity.onCreate(SplashScreenActivity.java:14) at android.app.Activity.performCreate(Activity.java:5322) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2303) ... 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) ... 25 more Caused by: android.content.res.Resources$NotFoundException: File res/drawable/logo.xml from drawable resource ID #0x7f020060 at android.content.res.Resources.loadDrawable(Resources.java:3443) at android.content.res.TypedArray.getDrawable(TypedArray.java:602) at android.widget.ImageView.<init>(ImageView.java:133) at android.widget.ImageView.<init>(ImageView.java:123) ... 28 more Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #1: invalid drawable tag vector at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:986) at android.graphics.drawable.Drawable.createFromXml(Drawable.java:930) at android.content.res.Resources.loadDrawable(Resources.java:3439) ... 31 more

    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

    jkjk
    2 times, last one
    gamebusterzgamebusterz
    5 times, last one
    filipebatistafilipebatista
    5 times, last one
    Unknown visitor
    Unknown visitorOnce,
    justCodeitjustCodeit
    2 times, last one
    21 more bugmates