android.view.InflateException: Binary XML file line #11: Error inflating class <unknown>

google.com | 4 months ago
  1. 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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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>
  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)
      4 frames
    7. xxx
      CueFileListAdapter.getView
      1. xxx.PickLeafCell.<init>(PickLeafCell.java:38)
      2. xxx.CueFileListAdapter.getView(CueFileListAdapter.java:108)
      2 frames
    8. Android Platform
      ActivityThread.main
      1. android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220)
      2. android.widget.AbsListView.obtainView(AbsListView.java:1315)
      3. android.widget.ListView.makeAndAddView(ListView.java:1727)
      4. android.widget.ListView.fillSpecific(ListView.java:1272)
      5. android.widget.ListView.layoutChildren(ListView.java:1558)
      6. android.widget.AbsListView.onLayout(AbsListView.java:1147)
      7. android.view.View.layout(View.java:7035)
      8. android.widget.RelativeLayout.onLayout(RelativeLayout.java:909)
      9. android.view.View.layout(View.java:7035)
      10. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      11. android.view.View.layout(View.java:7035)
      12. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1249)
      13. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1125)
      14. android.widget.LinearLayout.onLayout(LinearLayout.java:1042)
      15. android.view.View.layout(View.java:7035)
      16. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      17. android.view.View.layout(View.java:7035)
      18. android.view.ViewRoot.performTraversals(ViewRoot.java:1045)
      19. android.view.ViewRoot.handleMessage(ViewRoot.java:1727)
      20. android.os.Handler.dispatchMessage(Handler.java:99)
      21. android.os.Looper.loop(Looper.java:123)
      22. android.app.ActivityThread.main(ActivityThread.java:4627)
      22 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:521)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame