when I clone your module , and import to my project with android studio and build with gradle .
then i run it ,
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:648)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #59: Error inflating class ImageButton
android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f02004a a=-1 r=0x7f02004a}
then i found you put the ic_action_next.png in drawable-v21 ,not such as drawable-xhdpi ,then i moved it to the drawable-xhdpi ,and run it ,successd
i want to konw ,does there have any codes i should write to avoid similar incidents?
when I clone your module , and import to my project with android studio and build with gradle .
then i run it ,
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:648)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #59: Error inflating class ImageButton
android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f02004a a=-1 r=0x7f02004a}
then i found you put the ic_action_next.png in drawable-v21 ,not such as drawable-xhdpi ,then i moved it to the drawable-xhdpi ,and run it ,successd
i want to konw ,does there have any codes i should write to avoid similar incidents?