material-intro: Error with databinding.MiActivityIntroBinding
I had this erros today. How to solve it?
[...]
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vidroid.com.br.apps.organizze.pro/com.vidroid.com.br.apps.organizze.pro.activity.start.SliderActivity}: java.lang.ClassCastException: com.vidroid.com.br.apps.organizze.pro.databinding.MiActivityIntroBindingImpl cannot be cast to com.heinrichreimersoftware.materialintro.databinding.MiActivityIntroBinding
[...]
Caused by: java.lang.ClassCastException: com.vidroid.com.br.apps.organizze.pro.databinding.MiActivityIntroBindingImpl cannot be cast to com.heinrichreimersoftware.materialintro.databinding.MiActivityIntroBinding
at com.heinrichreimersoftware.materialintro.app.IntroActivity.onCreate(IntroActivity.java:198)
at com.vidroid.com.br.apps.organizze.pro.activity.start.SliderActivity.onCreate(SliderActivity.java:31)
[...]
I already read the articles 1 and 2. The solutions didn’t work to me.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 6
- Comments: 19 (1 by maintainers)
Commits related to this issue
- Fix introduction crash (see https://github.com/heinrichreimer/material-intro/issues/261) — committed to VinylMusicPlayer/VinylMusicPlayer by AdrienPoupa 5 years ago
- Downgrade MaterialIntro (closes #645) See https://github.com/heinrichreimer/material-intro/issues/261 — committed to kabouzeid/Phonograph by arkon 5 years ago
@dev4vin I solved it using the 1.6 version of Material Intro. Try it.
Resolvi meu problema com a versão 1.6
Same issue with 1.6.2, fixed with 1.6. Waiting for fix to have link support in descriptions (from 1.6.1)
This should now be resolved with Release 2.0.0.
#266 should resolve the AndroidX issues. Until it’s merged, I’ll be using
implementation 'com.github.adrcotfas:material-intro:e1228'which points to the last commit on my branch.I have tried 1.6, unfortunately, gradle could not resolve it.
Got the same problem after I’ve updated AS to 3.2…
@OtavioMiguel19 It resolved eventually, it was a problem with gradle. Thanks.