Project Information
- Repository: https://github.com/anggrayudi/MaterialPreference
- Project Name: Material Preference
- My Github Account: https://github.com/friendsmobile
- Download the application: https://play.google.com/store/apps/details?id=com.anggrayudi.materialpreference.sample
- My submitted Issue: https://github.com/anggrayudi/MaterialPreference/issues/6
Expected behavior
When I try to open the application after installing the application, the application should open and all the function in it should be displayed.
Actual behavior
The application crashes when I try to open the application after installing
How to reproduce
Download the application
try to open the application
Note the Error
Browser/App version: VERSION 3.1.8
Operating system: 6.0
Recording Of The Bug
Logcat
D/AndroidRuntime( 4697): Shutting down VM
E/AndroidRuntime( 4697): FATAL EXCEPTION: main
E/AndroidRuntime( 4697): Process: com.anggrayudi.materialpreference.sample, PID: 4697
E/AndroidRuntime( 4697): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.anggrayudi.materialpreference.sample/com.anggrayudi.materialpreference.sample.SettingsActivity}: android.view.InflateException: Binary XML file line #90: Error inflating class IndicatorPreference
E/AndroidRuntime( 4697): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2695)
E/AndroidRuntime( 4697): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2769)
E/AndroidRuntime( 4697): at android.app.ActivityThread.access$900(ActivityThread.java:177)
E/AndroidRuntime( 4697): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1430)
E/AndroidRuntime( 4697): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4697): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 4697): at android.app.ActivityThread.main(ActivityThread.java:5910)
E/AndroidRuntime( 4697): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4697): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 4697): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
E/AndroidRuntime( 4697): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
E/AndroidRuntime( 4697): Caused by: android.view.InflateException: Binary XML file line #90: Error inflating class IndicatorPreference
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.b()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.s.a()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.j.g()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.sample.b.a()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.j.c()
E/AndroidRuntime( 4697): at androidx.fragment.app.h.h()
E/AndroidRuntime( 4697): at androidx.fragment.app.w.a()
E/AndroidRuntime( 4697): at androidx.fragment.app.I.a()
E/AndroidRuntime( 4697): at androidx.fragment.app.I.a()
E/AndroidRuntime( 4697): at androidx.fragment.app.I.a()
E/AndroidRuntime( 4697): at androidx.fragment.app.w.b()
E/AndroidRuntime( 4697): at androidx.fragment.app.w.c()
E/AndroidRuntime( 4697): at androidx.fragment.app.w.o()
E/AndroidRuntime( 4697): at androidx.fragment.app.w.e()
E/AndroidRuntime( 4697): at androidx.fragment.app.w.e()
E/AndroidRuntime( 4697): at androidx.fragment.app.l.a()
E/AndroidRuntime( 4697): at androidx.fragment.app.j.onStart()
E/AndroidRuntime( 4697): at androidx.appcompat.app.m.onStart()
E/AndroidRuntime( 4697): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1248)
E/AndroidRuntime( 4697): at android.app.Activity.performStart(Activity.java:6213)
E/AndroidRuntime( 4697): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2658)
E/AndroidRuntime( 4697): ... 10 more
E/AndroidRuntime( 4697): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 4697): at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime( 4697): at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
E/AndroidRuntime( 4697): ... 37 more
E/AndroidRuntime( 4697): Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08005f
E/AndroidRuntime( 4697): at android.content.res.Resources.getResourceName(Resources.java:2413)
E/AndroidRuntime( 4697): at android.content.res.Resources.loadDrawableForCookie(Resources.java:2908)
E/AndroidRuntime( 4697): at android.content.res.Resources.loadDrawable(Resources.java:2821)
E/AndroidRuntime( 4697): at android.content.res.Resources.loadDrawable(Resources.java:2670)
E/AndroidRuntime( 4697): at android.content.res.TypedArray.getDrawable(TypedArray.java:761)
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.IndicatorPreference.()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.IndicatorPreference.()
E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.IndicatorPreference.()
E/AndroidRuntime( 4697): ... 39 more