App Crashes with latest androidx.appcompat:appcompat:1.1.0
See original GitHub issueWhen upgrading to the recently released appcompat 1.1.0, app started crashing with the following error.
java.lang.RuntimeException: Unable to start activity ComponentInfo{.......}:
android.view.InflateException: Binary XML file line #10: Error inflating class
com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView
...
...
...
Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x2040003
I can confirm that the core-sample-app
also crashes when the appcompat version is updated in dependencies.gradle and recompiled.
This is the same issue as the comment posted by @gajicm93 in https://github.com/PierfrancescoSoffritti/android-youtube-player/issues/419#issuecomment-530714754_, however, the conclusion seems to be wrong. This isn’t an old bug, but something new.
The resolution for now is to keep using appcompat 1.0.2 till this is fixed in the player library.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:14 (8 by maintainers)
Top Results From Across the Web
New app which Use AndroidX artifacts crash - Stack Overflow
I have asked my friend to repeat method of creating the app and every thing work in his phone. It is my first...
Read more >Why Do My Apps Keep Crashing on Android? - Avast
This article contains: Why are apps on my Android crashing? How to stop apps from crashing; Avoid annoying app crashes with Avast Cleanup....
Read more >App crashes on startup after updating Xamarin.AndroidX ...
The app loads and runs perfectly on my Android test devices when I build with package Xamarin.AndroidX.ViewPager2.1.0.0.14. When I upgrade the ...
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 >What to Do If Apps Keep Crashing on an Android Device
Apps crashing on an Android device is not uncommon, but there are several ways to troubleshoot the problem. You can often fix a...
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
it looks like
appcompat:1.2.0-alpha02
fixes the WebView related crashI’ve tried but failed. I’m traveling and don’t have my main SIM card with me, meaning: two factor authentication locks me out of my accounts. I’ll do everything next week when I’ll be back home.