Home > Enterprise >  java.lang.RuntimeException: Unable to start receiver (exception showed up in Google play store inter
java.lang.RuntimeException: Unable to start receiver (exception showed up in Google play store inter

Time:12-19

I deployed my flutter app to Google play store internal testing and after one hour, I saw this exception in the Pre-launch report details. I am not even sure where to start debugging. Could Someone please help. I don't have lots of knowledge in Anroid since I am using Flutter.

Thanks

Exception java.lang.RuntimeException: Unable to start receiver com.google.android.finsky.instantapps.PhenotypeUpdateReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.android.gms.phenotype.UPDATE cmp=com.android.vending/com.google.android.finsky.instantapps.PhenotypeUpdateService }: app is in background uid UidRecord{2a75503 u0a192 TRNB bg: 2m53s648ms idle change:uncached procs:4 seq(0,0,0)} at android.app.ActivityThread.handleReceiver (ActivityThread.java:4035)
at android.app.ActivityThread.access$1400 (ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1924) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:223) at android.app.ActivityThread.main (ActivityThread.java:7664) at java.lang.reflect.Method.invoke (Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947) Caused by java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.android.gms.phenotype.UPDATE cmp=com.android.vending/com.google.android.finsky.instantapps.PhenotypeUpdateService }: app is in background uid UidRecord{2a75503 u0a192 TRNB bg: 2m53s648ms idle change:uncached procs:4 seq(0,0,0)} at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1715)
at android.app.ContextImpl.startService (ContextImpl.java:1670) at android.content.ContextWrapper.startService (ContextWrapper.java:720) at alj.a (alj.java:2) at alm.a (alm.java:3) at wnv.a (wnv.java:2) at com.google.android.finsky.instantapps.PhenotypeUpdateReceiver.onReceive (PhenotypeUpdateReceiver.java:6) at android.app.ActivityThread.handleReceiver (ActivityThread.java:4026)

I also managed to download the full logcat which is very large file. I am not sure how to include the file over here.

CodePudding user response:

I just received the same error from the Google Play Console for an app I wrote using Jetpack Compose. I don't know how much help it will be but if you click show more on the page with the error, it shows the devices it failed on. In my case, it's a Google Pixel 5 running Android 11 (SDK 30). I am now installing an emulator to test on that device. The "see more" is on the top-right above the error message. 1

CodePudding user response:

I just broke in Play Console testing on the same. I'm crashing on Pixel 5 and Pixel 6 phones, Android 11 and 12.

This is a fairly new one, my bundles were testing fine until my latest bundle drops.

  • Related