java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jaypeetan.mftis/com.example.jaypeetan.mftis.main_menu}: android.view.InflateException: Binary XML file line #31: Error inflating class <unknown>

Stack Overflow | Jaypee Tan | 6 months ago
  1. 0

    android.view.InflateException: Binary XML file line #31: Error inflating class

    Stack Overflow | 6 months ago | Jaypee Tan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jaypeetan.mftis/com.example.jaypeetan.mftis.main_menu}: android.view.InflateException: Binary XML file line #31: Error inflating class <unknown>
  2. 0

    Android Recyclerview with lot of items

    Stack Overflow | 1 year ago | Alvaro_SE
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app.belivemusic/com.app.belivemusic.PerfilConcierto}: android.view.InflateException: Binary XML file line #25: Error inflating class <unknown>
  3. 0

    [Crash Log] Tue, 06 Oct 2015 04:48:34 GMT

    GitHub | 1 year ago | blFeedbackBot
    java.lang.RuntimeException: Unable to start activity ComponentInfo{us.shandian.blacklight/info.papdt.blacklight.ui.main.MainActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash ImageView when set image in android < 17 - Android?

    Stack Overflow | 1 year ago | jo jo
    java.lang.RuntimeException: Unable to start activity ComponentInfo{ir.makarem.payamimam/ir.makarem.payamimam.StartActivity}: android.view.InflateException: Binary XML file line #62: Error inflating class <unknown>
  6. 0

    Doesn't work?

    GitHub | 2 years ago | AndroidDeveloperLB
    java.lang.RuntimeException: Unable to start activity ComponentInfo{app.ivb.com.app_indexing/app.ivb.com.app_indexing.MainActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class android.widget.ImageView

  1. bayukresno 1 times, last 6 months ago
  2. sagar 1 times, last 9 months ago
  3. mathan m 1 times, last 4 months ago
  4. Agócs Tamás 2 times, last 4 months ago
  5. Ranjana Dangol 3 times, last 5 months ago
4 more registered users
15 unregistered visitors
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.OutOfMemoryError

    No message provided

    at android.graphics.BitmapFactory.nativeDecodeAsset()
  2. Android Platform
    ImageView.<init>
    1. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:587)
    3. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:422)
    4. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:840)
    5. android.content.res.Resources.loadDrawable(Resources.java:2192)
    6. android.content.res.Resources.loadDrawable(Resources.java:2075)
    7. android.content.res.TypedArray.getDrawable(TypedArray.java:602)
    8. android.widget.ImageView.<init>(ImageView.java:129)
    9. android.widget.ImageView.<init>(ImageView.java:119)
    9 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    2 frames
  4. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:594)
    1 frame
  5. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:669)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:694)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    6 frames
  7. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:249)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:106)
    2 frames
  8. com.example.jaypeetan
    main_menu.onCreate
    1. com.example.jaypeetan.mftis.main_menu.onCreate(main_menu.java:29)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5411)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2396)
    5. android.app.ActivityThread.access$800(ActivityThread.java:139)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:149)
    9. android.app.ActivityThread.main(ActivityThread.java:5257)
    9 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
    2 frames
  12. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame