Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeException: Unable to start activity ComponentInfo: android.view.InflateException: Binary XML file line #31: #14

Open
esrabindra opened this issue Jul 10, 2018 · 2 comments

Comments

@esrabindra
Copy link

esrabindra commented Jul 10, 2018

When i run the project it crashed every time. I added dependencies and follow the step that are listed on github. But get problem while running the project,
Unable to start activity ComponentInfo{com.app.lifecycle/com.test.lifecycle.MainActivity}: android.view.InflateException: Binary XML file line #31: Binary XML file line #31: Error inflating class ng.max.slideview.SlideView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3253)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
at android.app.ActivityThread.access$1100(ActivityThread.java:221)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7225)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: android.view.InflateException: Binary XML file line #31: Binary XML file line #31: Error inflating class ng.max.slideview.SlideView

@kizitonwose
Copy link
Contributor

Can you share how you defined the class in XML?

@AhmedSaadShrief
Copy link

Same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants