Hi all,
I have been facing this issue on a detached ExpoKit build for Android.
I have seen that there are similar topics to this problem here: #11390 and here: #14122, but none of them seem to have been resolved.
I have already tried changing the values of ‘colorPrimary’ and ‘colorPrimaryDark’ inside the colors.xml file as well as changing these values within the styles.xml file, but this also does not seem to work.
This issue occurs on both an emulator and an Android device.
SDK versions that I tested on were 23, 27 and 28 using Expo 30.
CrashLytics stacktrace:
Non-fatal Exception: java.lang.RuntimeException: A TaskDescription’s primary color should be opaque
at android.app.ActivityManager$TaskDescription.(ActivityManager.java:1536)
at host.exp.exponent.utils.ExperienceActivityUtils$1.onLoadBitmap(ExperienceActivityUtils.java:104)
at host.exp.exponent.ExponentManifest$5.onPostExecute(ExponentManifest.java:640)
at host.exp.exponent.ExponentManifest$5.onPostExecute(ExponentManifest.java:603)
at android.os.AsyncTask.finish(AsyncTask.java:695)
at android.os.AsyncTask.-wrap1(Unknown Source)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6938)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Android Studio Logcat error:
E/ExperienceActivityUtils: java.lang.RuntimeException: A TaskDescription’s primary color should be opaque
Any help with this will be appreciated.
Thanks in Advance