question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App Crashes with latest androidx.appcompat:appcompat:1.1.0

See original GitHub issue

When 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:open
  • Created 4 years ago
  • Reactions:4
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
frettcommented, Feb 4, 2020

it looks like appcompat:1.2.0-alpha02 fixes the WebView related crash

3reactions
PierfrancescoSoffritticommented, Sep 18, 2019

I’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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found