A TaskDescription’s primary color should be opaque


#1

I encounter with the same error as described here.

stack trace from fabric

Non-fatal Exception: java.lang.RuntimeException: A TaskDescription's primary color should be opaque
       at android.app.ActivityManager$TaskDescription.<init>(ActivityManager.java:1311)
       at host.exp.exponent.utils.ExperienceActivityUtils$1.onLoadBitmap(ExperienceActivityUtils.java:104)
       at host.exp.exponent.ExponentManifest.loadIconBitmap(ExponentManifest.java:570)
       at host.exp.exponent.utils.ExperienceActivityUtils.setTaskDescription(ExperienceActivityUtils.java:97)
       at host.exp.exponent.experience.ExperienceActivity$4.run(ExperienceActivity.java:503)
       at android.app.Activity.runOnUiThread(Activity.java:6036)
       at host.exp.exponent.experience.ExperienceActivity.setManifest(ExperienceActivity.java:459)
       at host.exp.exponent.experience.DetachActivity$1$2.run(DetachActivity.java:63)
       at host.exp.expoview.Exponent.runOnUiThread(Exponent.java:215)
       at host.exp.exponent.experience.DetachActivity$1.onManifestCompleted(DetachActivity.java:55)
       at host.exp.exponent.AppLoader.resolve(AppLoader.java:242)
       at host.exp.exponent.AppLoader.resolve(AppLoader.java:217)
       at host.exp.exponent.AppLoader.access$000(AppLoader.java:20)
       at host.exp.exponent.AppLoader$5.onBundleLoaded(AppLoader.java:338)
       at host.exp.expoview.Exponent$2$1.run(Exponent.java:458)
       at android.os.Handler.handleCallback(Handler.java:751)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6732)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

I do not know how to reproduce the error. My app is detached to ExpoKit


ExperienceActivityUtils: A TaskDescription's primary color should be opaque
#2

@ben could you help with that?


#3

Hey @estel,

Can you provide some more information such as what SDK you are running and what device(s) you are experiencing this on?

Cheers,

Adam


#4

HUAWEI MATE 10 PRO DUAL SIM Android 8.0
Galaxy S7 Android 8.0
Moto G (5) Android 7.0
Moto E with 4G LTE (2nd Gen) Android 5.1
Galaxy J5 Android 7.0
Pixel XL Android 9.0

We do not face the problem locally but it is rapported by Crashlitics


closed #5

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.