java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pairroxz.yourplayingcards/eu.janmuller.android.simplecropimage.CropImage}: android.view.InflateException: Binary XML file line #7: Error inflating class eu.janmuller.android.simplecropimage.CropImageView

Stack Overflow | Chirag Jain | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Below Android 5.0: android.view.InflateException: Binary XML file line #7: Error inflating class eu.janmuller.android.simplecropimage.CropImageView"

    Stack Overflow | 8 months ago | Chirag Jain
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pairroxz.yourplayingcards/eu.janmuller.android.simplecropimage.CropImage}: android.view.InflateException: Binary XML file line #7: Error inflating class eu.janmuller.android.simplecropimage.CropImageView

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      eu.janmuller.android.simplecropimage.RotateBitmap

      at eu.janmuller.android.simplecropimage.ImageViewTouchBase.<init>()
    2. eu.janmuller.android
      CropImageView.<init>
      1. eu.janmuller.android.simplecropimage.ImageViewTouchBase.<init>(ImageViewTouchBase.java:58)
      2. eu.janmuller.android.simplecropimage.CropImageView.<init>(CropImageView.java:38)
      2 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      2 frames
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:594)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
      6 frames
    5. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)
      1 frame
    6. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:1929)
      1 frame
    7. eu.janmuller.android
      CropImage.onCreate
      1. eu.janmuller.android.simplecropimage.CropImage.onCreate(CropImage.java:110)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5231)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
      5. android.app.ActivityThread.access$800(ActivityThread.java:135)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:136)
      9. android.app.ActivityThread.main(ActivityThread.java:5001)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
      2 frames