The problem with instant launch and Google Maps

There seems to be a problem with instant launch and Google Maps. If you re-launch the application to see the changes, if the application uses Google Maps, a crash will occur. Here is part of the stack trace:

java.lang.RuntimeException: android.content.res.Resources$NotFoundException: File res/drawable/common_google_signin_btn_text_light_focused.xml from drawable resource ID at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) ........ Caused by: android.content.res.Resources$NotFoundException: File res/drawable/common_google_signin_btn_text_light_focused.xml from drawable resource ID at android.content.res.Resources.loadDrawableForCookie(Resources.java:2640) ..... Caused by: android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi-v4/maps_btn_myl_pressed.png from drawable resource ID 

The failure is due to a ResourcesNotFoundException , which is apparently caused by files such as those listed in the aforementioned stacktrace.

Does anyone encounter this problem, and if so, what is the fix?

+5
source share

Source: https://habr.com/ru/post/1262546/


All Articles