-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
When adding the dependency to my app there are multiple inflation exceptions happening at run time #469
Comments
Thanks for reporting. Curious to see, since I am currently using the latest |
Error inflating class com.google.android.material.card.MaterialCardView If it helps on anything, |
Not is not a known issue. |
name: multiple inflation exceptions happening at run time ✍️ Describe the bugAdding the gradle deps at the project's app module, I get on some screens the following, and other similar crashes with an InflateException
💣 Steps to reproduce
🔧 Expected behaviorNot to crash :Android: Tech info
📄 Additional context |
Can you still confirm that crashes happen only when you add Chucker? By looking at the provided stacktrace I don't see anything connected with Chucker. Some info on what are you trying to do, how exactly do you add Chucker, etc. could be helpful as well. |
Hi, That messes up the themes in the app, hence the crash, because of missing attributes. The issue is definitely not related to Chucker, but because of the dependencies it brings. |
You can exclude the transitive dependency on the material library with: debugImplementation("com.github.chuckerteam.chucker:library:3.3.0") {
exclude group: "com.google.android.material", module: "material"
} I'm closing the issue as it's solved. Feel free to reopen if this is not the case 👍 |
I added the dependency as suggested on the read-me, and added the interceptor to the OkHttpClient through my Daagger Graph.
What happens on runtime is, that I get multiple inflation exceptions android.view.InflateException:
Is this a known issue?
The text was updated successfully, but these errors were encountered: