java.lang.RuntimeException: Unable to start activity ComponentInfo{io.spark.core.android/io.spark.core.android.ui.SignUpActivity}: android.view.InflateException: Binary XML file line #33: Error inflating class com.danh32.fontify.EditText

particle.io | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Has anybody already got the Android app built locally? - Troubleshooting - Particle

    particle.io | 8 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{io.spark.core.android/io.spark.core.android.ui.SignUpActivity}: android.view.InflateException: Binary XML file line #33: Error inflating class com.danh32.fontify.EditText
  2. 0

    native typeface cannot be made

    GitHub | 2 years ago | makhazzan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{it.neokree.example/it.neokree.example.light.MockedAccount}: java.lang.RuntimeException: native typeface cannot be made
  3. 0

    Crash on startup

    GitHub | 3 years ago | tmcw
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.mapboxforandroid/com.mapbox.mapboxforandroid.MainActivity}: java.lang.RuntimeException: native typeface cannot be made
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems when trying to load a Font

    Stack Overflow | 3 years ago | user3317110
    java.lang.RuntimeException: native typeface cannot be made
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.RuntimeException

    native typeface cannot be made

    at android.graphics.Typeface.<init>()
  2. Android Platform
    Typeface.createFromAsset
    1. android.graphics.Typeface.<init>(Typeface.java:175)
    2. android.graphics.Typeface.createFromAsset(Typeface.java:149)
    2 frames
  3. com.danh32.fontify
    EditText.<init>
    1. com.danh32.fontify.FontManager.setFont(FontManager.java:41)
    2. com.danh32.fontify.FontManager.setFont(FontManager.java:32)
    3. com.danh32.fontify.EditText.<init>(EditText.java:19)
    3 frames
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    2 frames
  5. 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.rInflate(LayoutInflater.java:758)
    5. android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    8. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    8 frames
  6. Android
    PhoneWindow.setContentView
    1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)
    1 frame
  7. Android Platform
    Activity.setContentView
    1. android.app.Activity.setContentView(Activity.java:1929)
    1 frame
  8. io.spark.core
    SignUpActivity.onCreate
    1. io.spark.core.android.ui.SignUpActivity.onCreate(SignUpActivity.java:84)
    1 frame
  9. 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:2159)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
    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:5017)
    9 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    2 frames
  12. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame