android.view.InflateException: Binary XML file line #32: Error inflating class uk.org.humanfocus.hfi.CustomClasses.RatioImageView 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:498) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:398) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:354) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:352) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.Activity.setContentView(Activity.java:2057) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at uk.org.humanfocus.hfi.Home.MainActivity.onCreate(MainActivity.java:259) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5580) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2400) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2495)

codegur.online | 3 months ago
  1. 0

    Unable to start activity Binary XML file Error inflating class, Class not found on Dex Path List - Android

    Stack Overflow | 1 year ago | Salmaan
    android.view.InflateException: Binary XML file line #32: Error inflating class uk.org.humanfocus.hfi.CustomClasses.RatioImageView 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:498) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:398) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:354) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:352) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.Activity.setContentView(Activity.java:2057) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at uk.org.humanfocus.hfi.Home.MainActivity.onCreate(MainActivity.java:259) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5580) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2400) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2495)
  2. 0

    How to catch exception thrown by Task run with Async.AwaitTask

    codegur.online | 3 months ago
    android.view.InflateException: Binary XML file line #32: Error inflating class uk.org.humanfocus.hfi.CustomClasses.RatioImageView 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:498) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:398) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:354) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:352) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.Activity.setContentView(Activity.java:2057) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at uk.org.humanfocus.hfi.Home.MainActivity.onCreate(MainActivity.java:259) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5580) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2400) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2495)
  3. 0

    Error inflating class error

    Stack Overflow | 1 year ago | John Smith
    android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayout com.example.smith.frada E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:698) com.example.smith.frada E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:466) com.example.smith.frada E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:396) com.example.smith.frada E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:352) com.example.smith.frada E/AndroidRuntime: at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:342) com.example.smith.frada E/AndroidRuntime: at android.app.Activity.setContentView(Activity.java:1929) com.example.smith.frada E/AndroidRuntime: at com.example.smith.frada.MainActivity.onCreate(MainActivity.java:23) com.example.smith.frada E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5165) com.example.smith.frada E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1103) com.example.smith.frada E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2419) com.example.smith.frada E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2520)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Dex file miss some class file of Application package

    Stack Overflow | 1 year ago | user3848825
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mayi.app/com.mayi.app.Splash}: android.view.InflateException: Binary XML file line #22: Error inflating class com.purologics.maayi.font.MyTextView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) at android.app.ActivityThread.access$800(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #22: Error inflating class com.purologics.maayi.font.MyTextView at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:707) at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at android.view.LayoutInflater.inflate(LayoutInflater.java:353) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290) at android.app.Activity.setContentView(Activity.java:1929) at com.mayi.app.Splash.onCreate(Splash.java:66) at android.app.Activity.performCreate(Activity.java:5231) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
  6. 0

    My Android application crashes. Find the logcat below. Thank you

    Stack Overflow | 8 months ago | Lakshay
    java.lang.ClassNotFoundException: com.project.mobileshoppingassistant.MapView at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) at java.lang.ClassLoader.loadClass(ClassLoader.java:501) at java.lang.ClassLoader.loadClass(ClassLoader.java:461) at android.view.LayoutInflater.createView(LayoutInflater.java:552) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)

    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.ClassNotFoundException

      Didn't find class "uk.org.humanfocus.hfi.CustomClasses.RatioImageView" on path: DexPathList[[zip file "/data/app/uk.org.humanfocus.hfi-1.apk"],nativeLibraryDirectories=[/data/app-lib/uk.org.humanfocus.hfi-1, /vendor/lib, /system/lib]] 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:497) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:457) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:565) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) 10-28 17:28:50.545 10025-10025/uk.org.humanfocus.hfi E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)

      at android.view.LayoutInflater.rInflate()
    2. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:498)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:398)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:354)
      6 frames
    3. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:352)
      1 frame
    4. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:2057)
      1 frame
    5. uk.org.humanfocus
      MainActivity.onCreate
      1. uk.org.humanfocus.hfi.Home.MainActivity.onCreate(MainActivity.java:259)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5580)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2400)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2495)
      5. android.app.ActivityThread.access$900(ActivityThread.java:170)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1304)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:146)
      9. android.app.ActivityThread.main(ActivityThread.java:5635)
      9 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
      2 frames