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>

Stack Overflow | C89-HD | 3 months ago
  1. 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>
  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

    unfortunately myapp has stopped working with multiple activities

    Stack Overflow | 3 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>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Logcat error in Android application

    Stack Overflow | 2 years ago | user3369035
    java.lang.OutOfMemoryError

  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

    No message provided

    at android.graphics.BitmapFactory.nativeDecodeAsset()
  2. Android Platform
    RelativeLayout.<init>
    1. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:500)
    3. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:353)
    4. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:781)
    5. android.content.res.Resources.loadDrawable(Resources.java:1969)
    6. android.content.res.TypedArray.getDrawable(TypedArray.java:601)
    7. android.view.View.<init>(View.java:3348)
    8. android.view.View.<init>(View.java:3285)
    9. android.view.ViewGroup.<init>(ViewGroup.java:421)
    10. android.widget.RelativeLayout.<init>(RelativeLayout.java:187)
    10 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  4. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
    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:660)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:466)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
    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
    Main2Activity.onCreate
    1. com.example.apollo.arrroo.Main2Activity.onCreate(Main2Activity.java:11)
    1 frame