java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.apollo.myapplication/com.example.apollo.myapplication.Main3Activity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>

Stack Overflow | C89-HD | 4 months ago
  1. 0

    unfortunately myapp has stopped working with multiple activities

    Stack Overflow | 4 months ago | C89-HD
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.apollo.myapplication/com.example.apollo.myapplication.Main3Activity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
  2. 0

    Unfortunately, app has stopped, unable to start activity?

    Stack Overflow | 6 months ago | omghelpz
    java.lang.OutOfMemoryError: Failed to allocate a 74649612 byte allocation with 1048576 free bytes and 63MB until OOM
  3. 0

    Caused by: java.lang.OutOfMemoryError (starting new Activity)

    Stack Overflow | 3 months ago | C89-HD
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.apollo.arrroo/com.example.apollo.arrroo.Main2Activity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout

    Stack Overflow | 1 year ago | Lew Wei Hao
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.weihao.cannongame/com.example.weihao.cannongame.Menu}: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout
  6. 0

    InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout - BlogoSfera

    co.uk | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.weihao.cannongame/com.example.weihao.cannongame.Menu}: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout

  1. sunwicked 1 times, last 9 months ago
  2. Nisha Singh 2 times, last 8 months ago
  3. sagar 2 times, last 9 months ago
4 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

    Failed to allocate a 43877388 byte allocation with 11648040 free bytes and 11MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    RelativeLayout.<init>
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    3. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:609)
    4. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
    5. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:988)
    6. android.content.res.Resources.loadDrawableForCookie(Resources.java:2474)
    7. android.content.res.Resources.loadDrawable(Resources.java:2381)
    8. android.content.res.TypedArray.getDrawable(TypedArray.java:749)
    9. android.view.View.<init>(View.java:3737)
    10. android.view.ViewGroup.<init>(ViewGroup.java:497)
    11. android.widget.RelativeLayout.<init>(RelativeLayout.java:248)
    12. android.widget.RelativeLayout.<init>(RelativeLayout.java:244)
    13. android.widget.RelativeLayout.<init>(RelativeLayout.java:240)
    13 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:288)
    2 frames
  4. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:607)
    1 frame
  5. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:55)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:682)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:482)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:414)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
    5 frames
  7. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  8. com.example.apollo
    Main3Activity.onCreate
    1. com.example.apollo.myapplication.Main3Activity.onCreate(Main3Activity.java:13)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5990)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
    5. android.app.ActivityThread.access$800(ActivityThread.java:151)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:135)
    9. android.app.ActivityThread.main(ActivityThread.java:5254)
    9 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  11. Android
    ZygoteInit$MethodAndArgsCaller.run
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    1 frame