java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sunny.studios.marton.seoul.uefaquiz/com.sunny.studios.marton.seoul.uefaquiz.MainActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class <unknown>

Stack Overflow | user2547460 | 3 years ago
  1. 0

    Android app works on real phone but not on the emulator - Android Development?

    Stack Overflow | 3 years ago | user2547460
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sunny.studios.marton.seoul.uefaquiz/com.sunny.studios.marton.seoul.uefaquiz.MainActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class <unknown>
  2. 0

    external allocation too large for this process,Error inflating class, bitmap size exceeds VM budget (Android forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{android.com/android.com.Level3}: android.view.InflateException: Binary XML file line #7: Error inflating class java.lang.reflect.Constructor
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android: Using selector to set background color for image view

    Stack Overflow | 5 years ago | Namratha
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.X.XCamera/com.X.XCamera.XCameraActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class <unknown>

    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

      bitmap size exceeds VM budget

      at android.graphics.Bitmap.nativeCreate()
    2. Android Platform
      ImageView.<init>
      1. android.graphics.Bitmap.nativeCreate(Native Method)
      2. android.graphics.Bitmap.createBitmap(Bitmap.java:468)
      3. android.graphics.Bitmap.createBitmap(Bitmap.java:435)
      4. android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
      5. android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
      6. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
      7. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
      8. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
      9. android.content.res.Resources.loadDrawable(Resources.java:1709)
      10. android.content.res.TypedArray.getDrawable(TypedArray.java:601)
      11. android.widget.ImageView.<init>(ImageView.java:118)
      12. android.widget.ImageView.<init>(ImageView.java:108)
      12 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:446)
      2 frames
    4. Android Platform
      LayoutInflater.createView
      1. android.view.LayoutInflater.createView(LayoutInflater.java:500)
      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.createViewFromTag(LayoutInflater.java:563)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:407)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:320)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:276)
      5 frames
    7. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
      1 frame
    8. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:1647)
      1 frame
    9. com.sunny.studios
      MainActivity.onCreate
      1. com.sunny.studios.marton.seoul.uefaquiz.MainActivity.onCreate(MainActivity.java:12)
      1 frame
    10. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
      2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
      3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
      4. android.app.ActivityThread.access$2300(ActivityThread.java:125)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
      6. android.os.Handler.dispatchMessage(Handler.java:99)
      7. android.os.Looper.loop(Looper.java:123)
      8. android.app.ActivityThread.main(ActivityThread.java:4627)
      8 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:521)
      2 frames
    12. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
      2 frames
    13. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame