I am using the throw function in my application. It works great, but suddenly I see an increase in the number of crashes on the console of the game store.
I initialize CastContext properly, as defined in the guidelines, and moreover, I check whether this device is compatible or not before calling this CastContext.getSharedInstance(context) method so this should not be a problem.
I can not reproduce this failure even on emulators with or without google-play services.
Any help would be appreciated.
Failure:
Fatal Exception: java.lang.RuntimeException: Cannot start activity ComponentInfo {.... activity.TVActivityPhone}: java.lang.RuntimeException: com.google.android.gms.dynamite.DynamiteModule $ zza: Remote download failed. Local reserve not found . on android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2677) on android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2747) on android.app.ActivityThread.access $ 900 (ActivityThread.java:187) on android.app .ActivityThread $ H.handleMessage (ActivityThread.java:1584) on android.os.Handler.dispatchMessage (Handler.java:111) on android.os.Looper.loop (Looper.java:194) on android.app.ActivityThread. main (ActivityThread.java:5877) in java.lang.reflect.Method.invoke (Method.java) in java.lang.reflect.Method.invoke (Method.javahaps72) in com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java:1020) in com.android.internal.os.ZygoteInit.main (ZygoteInit.java:815) Java.lang.RuntimeException is called: com.google.android.gms.dynamite.DynamiteModule $ zza : Remote download failed. Local reserve not found.
Code I get an error if this condition means that this is not about the availability of the google play service.
if (googlePlayServicesVerified(context)) { // checking (result==ConnectionResult.SUCCES) Log.d("TAG", "instantiated"); castContext = CastContext.getSharedInstance(context); } else { Log.e(TAG, "FAILED"); }
Filed error for google:
https://issuetracker.google.com/issues/65359941
android google-cast android-cast-api
sam_k
source share