You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's crash in release mode and logcat showing Binary XML file line #283: Error inflating class com.chivorn.smartmaterialspinner.SmartMaterialSpinner
#66
Open
nabeelhafeez opened this issue
Dec 23, 2022
· 1 comment
I develop my app in debug mode, It's working fine in debug mode but when I build in release mode then app crashing at this point " Binary XML file line #283: Error inflating class com.chivorn.smartmaterialspinner.SmartMaterialSpinner". Kindly guide asap how to fix it for make signed apk for play store.
The text was updated successfully, but these errors were encountered:
Same error here after updating to AGP 8.0.5. Working fine if the app is running in debug mode, the crash happens only generating a release APK or App bundle.
Crashlytics logs on the crash:
Fatal Exception: android.view.InflateException
Binary XML file line #158 in com.digitalgeko.promerica:layout/fragment_beneficiaries: Binary XML file line #158 in com.digitalgeko.promerica:layout/fragment_beneficiaries: Error inflating class com.chivorn.smartmaterialspinner.SmartMaterialSpinner
Caused by android.view.InflateException
Binary XML file line #158 in com.digitalgeko.promerica:layout/fragment_beneficiaries: Error inflating class com.chivorn.smartmaterialspinner.SmartMaterialSpinner
Caused by java.lang.reflect.InvocationTargetException
Caused by java.lang.RuntimeException
Font asset not found res/59.otf
android.graphics.Typeface.createFromAsset (Typeface.java:1189)
com.chivorn.smartmaterialspinner.SmartMaterialSpinner.initAttributes (SmartMaterialSpinner.java:277)
com.chivorn.smartmaterialspinner.SmartMaterialSpinner.init (SmartMaterialSpinner.java:248)
com.chivorn.smartmaterialspinner.SmartMaterialSpinner.<init> (SmartMaterialSpinner.java:228)
java.lang.reflect.Constructor.newInstance0 (Constructor.java)
java.lang.reflect.Constructor.newInstance (Constructor.java:343)
android.view.LayoutInflater.createView (LayoutInflater.java:858)
android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:1010)
Did you find any fix for this in the end @nabeelhafeez ?
I develop my app in debug mode, It's working fine in debug mode but when I build in release mode then app crashing at this point " Binary XML file line #283: Error inflating class com.chivorn.smartmaterialspinner.SmartMaterialSpinner". Kindly guide asap how to fix it for make signed apk for play store.
The text was updated successfully, but these errors were encountered: