Skip to content

ic_action_next.png  #2

Description

@laobadao

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions