App crash when using com.google.android.material library
See original GitHub issueWhen project uses the library: com.google.android.material, the app crashes after adding the chucker to gradle. Looks like chucker is also using the same library
android.view.InflateException: Binary XML file line #127: Binary XML file line #127: Error inflating class com.google.android.material.textfield.TextInputLayout
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Closed :Android: App keeps crashing when using com.google ...
In Short, Try changing The app Theme to Theme.MaterialComponents in res/styles or avoid using its components like TextInputLayout.
Read more >App crashes on launch with Material-1.1.0 and minifyEnabled ...
This only happens when I test it with minifyEnabled true . It works fine without minification. The crash log is at the bottom...
Read more >Crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >Application crashes at runtime [72039872] - Visible to Public
We are seeing issues with D8, when using a library that uses Dagger. I'm seeing the following issue/error during runtime.
Read more >App crashes with "Didn't find class "androidx.window ...
Hi team, another newbie question. I try to get the windowManager feature working. After 's awesome tip , I got it building.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can force the dependency version with something like this.
However, I’m also not facing the issue you describe in any of my projects that use Chucker. Can you create a small sample repo that reproduces the issue?
I would like to reopen the issue till we find the actual fix. It is strange, since quite a lot of people still use AppCompat theme with Chucker without issues.
You mentioned that your app uses
AppCompat
. If so could you tell me how is it possible that yourTextInputLayout
usesstyle="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
, while it requires the app to useTheme.MaterialComponents
and would crash otherwise with an error like you have?