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

Stack Overflow | priyankaJ | 4 years ago
  1. 0

    unfortunately application has stopped

    Stack Overflow | 4 years ago | priyankaJ
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.iamgreat/com.example.iamgreat.GreatPiyu}: android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>
  2. 0

    Unable to start activity ComponentInfo: android.view.InflateException: Binary XML file line #2: Error inflating class

    Stack Overflow | 1 year ago | Ali Muhammad
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.thenewboston.ali/com.thenewboston.ali.Splash}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
  3. 0

    ListView Error while loading activity - Tech Forum Network

    techforumnetwork.com | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.status.what/com.cat.what.Fun}: 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

    java.lang.OutOfMemoryError

    GitHub | 3 years ago | atulagrwl
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.eteach.sol/com.eteach.sol.FilePlay}: android.view.InflateException: Binary XML file line #3: Error inflating class <unknown>
  6. 0

    My app has been stopping everytime i open another intent. here is my logcat

    Stack Overflow | 1 year ago | College Student
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.orderingsystem/com.example.orderingsystem.Menu}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>

  1. Akshay 8 times, last 5 months ago
1 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
    LinearLayout.<init>
    1. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:502)
    3. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:355)
    4. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:785)
    5. android.content.res.Resources.loadDrawable(Resources.java:1965)
    6. android.content.res.TypedArray.getDrawable(TypedArray.java:601)
    7. android.view.View.<init>(View.java:3328)
    8. android.view.ViewGroup.<init>(ViewGroup.java:431)
    9. android.widget.LinearLayout.<init>(LinearLayout.java:176)
    10. android.widget.LinearLayout.<init>(LinearLayout.java:172)
    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
    PhoneWindow.setContentView
    1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
    1 frame
  8. Android Platform
    Activity.setContentView
    1. android.app.Activity.setContentView(Activity.java:1881)
    1 frame
  9. com.example.iamgreat
    GreatPiyu.onCreate
    1. com.example.iamgreat.GreatPiyu.onCreate(GreatPiyu.java:12)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5104)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
    5. android.app.ActivityThread.access$600(ActivityThread.java:141)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:5039)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame