Detached app crashing on Android SDK <= 21

Hey,
We have a detached app from exp SDK 28.0.0 working well on iOS and Android SDK 22+, but anytime I run the app for a lower Android SDK, I get a horrid splash-screen-loop, or an immediate crash.

After banging my head against this for 2 days, I tried detaching a clean exp init template but lo and behold, hit what seems to be the same issue on older Androids.

One potential pitfall that comes to mind is that I’ve been unable to update the androidExpoViewUrl detailed in the upgrading docs, as the .tar.gz for exp 28 seems to be missing?

Any insights would be much appreciated!

Here’s the logcat from a clean exp app in dev19Debug running on an Android SDK 21 emulator:

06-27 14:18:12.457 4426-4426/? E/libprocessgroup: failed to make and chown /acct/uid_10059: Read-only file system
06-27 14:18:13.272 4426-4426/workit.test E/AndroidRuntime: FATAL EXCEPTION: main
    Process: workit.test, PID: 4426
    java.lang.RuntimeException: Unable to get provider android.support.v4.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.FileProvider" on path: DexPathList[[zip file "/data/app/workit.test-1/base.apk", zip file "/data/app/workit.test-1/split_lib_dependencies_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_0_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_1_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_2_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_3_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_4_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_5_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_6_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_7_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_8_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/workit.test-1/lib/x86, /vendor/lib, /system/lib]]
        at android.app.ActivityThread.installProvider(ActivityThread.java:4967)
        at android.app.ActivityThread.installContentProviders(ActivityThread.java:4559)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4499)
        at android.app.ActivityThread.access$1500(ActivityThread.java:144)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:135)
        at android.app.ActivityThread.main(ActivityThread.java:5221)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.FileProvider" on path: DexPathList[[zip file "/data/app/workit.test-1/base.apk", zip file "/data/app/workit.test-1/split_lib_dependencies_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_0_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_1_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_2_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_3_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_4_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_5_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_6_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_7_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_8_apk.apk", zip file "/data/app/workit.test-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/workit.test-1/lib/x86, /vendor/lib, /system/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
        at android.app.ActivityThread.installProvider(ActivityThread.java:4952)
        at android.app.ActivityThread.installContentProviders(ActivityThread.java:4559) 
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4499) 
        at android.app.ActivityThread.access$1500(ActivityThread.java:144) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loop(Looper.java:135) 
        at android.app.ActivityThread.main(ActivityThread.java:5221) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at java.lang.reflect.Method.invoke(Method.java:372) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) 
      Suppressed: java.lang.ClassNotFoundException: android.support.v4.content.FileProvider
        at java.lang.Class.classForName(Native Method)
        at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
        at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
            ... 13 more
     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
06-27 14:18:13.584 1625-2101/system_process E/ActivityManager: Invalid thumbnail dimensions: 504x504
06-27 14:18:13.660 1625-4398/system_process E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
06-27 14:18:13.662 1625-4398/system_process E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824

Hi! Sorry the delay in replying here. I haven’t checked with the rest of the team to see if they changed anything since you posted, but it looks like androidExpoViewUrl is currently provided on the versions endpoint:

"28.0.0": {
"androidExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/android-v2.6.2-sdk28.0.0-141d0954-b898-4919-aa89-3ab45453213f.tar.gz",
"expoReactNativeTag": "sdk-28.0.0",
"facebookReactNativeVersion": "0.55.4",
"facebookReactVersion": "16.3.1",
"iosExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/ios-v2.6.7-sdk28.0.0-f270ac9a-dea9-43e6-bce7-b3015f7b21bb.tar.gz",
"iosVersion": "2.6.7",
"releaseNoteUrl": "https://blog.expo.io/expo-sdk-v28-0-0-is-now-available-f30e8253b530"
},

Oh thanks, I must have been trying the wrong URL. After comparing though, I realized that my project does already have the proper androidExpoViewUrl for 28, presumably because it was created with exp 28.

Unfortunately I have still been unable to run the detached template app using any build variation on Android SDK 19.

Trying to build the app for Android 19 in either prodDebug or dev19Debug fails with this error:
Too many classes in --main-dex-list, main dex capacity exceeded

I’m able to get around this by adding dexOptions { keepRuntimeAnnotatedClasses false } to the build.gradle, as per this discussion https://github.com/expo/expo/issues/1166

And then the app will build on Android 19, but flickers between a black screen and the splash screen for 10 minutes before showing expo’s blue “Something went wrong.”

Could this be caused by adding keepRuntimeAnnotatedClasses false? Is there any way I can build for Android 19 without it? Should I even need to be adding that in since expo’s build.gradle defaults to minSdkVersion: 19 and should already be configured for it?

Here are the logs from expo’s view logs:

And here are the 10 minutes of logcat from Android Studio:

06-28 09:35:31.213 3172-3178/? E/jdwp: Failed sending reply to debugger: Broken pipe
06-28 09:35:35.823 3172-3192/test.test E/dalvikvm: Could not find class 'android.app.job.JobScheduler', referenced from method com.google.android.gms.internal.zzcnj.zzbcp
06-28 09:35:35.833 3172-3192/test.test E/dalvikvm: Could not find class 'android.app.job.JobScheduler', referenced from method com.google.android.gms.internal.zzcnj.zzs
06-28 09:35:36.283 3172-3172/test.test E/dalvikvm: Could not find class 'android.app.ActivityManager$AppTask', referenced from method host.exp.exponent.kernel.Kernel.killOrphanedLauncherActivities
06-28 09:35:36.293 3172-3172/test.test E/dalvikvm: Could not find class 'android.app.ActivityManager$AppTask', referenced from method host.exp.exponent.kernel.Kernel.openManifestUrl
06-28 09:35:36.303 3172-3172/test.test E/dalvikvm: Could not find class 'android.app.ActivityManager$AppTask', referenced from method host.exp.exponent.kernel.Kernel.moveTaskToFront
06-28 09:35:36.823 3172-3217/test.test E/AppLoader: Error fetching cached manifest, falling back to default timeout: java.io.IOException: No hard coded response found
06-28 09:35:37.673 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:35:37.733 3172-3172/test.test E/dalvikvm: Could not find class 'android.app.NotificationChannelGroup', referenced from method host.exp.exponent.notifications.ExponentNotificationManager.maybeCreateNotificationChannelGroup
06-28 09:35:38.633 3172-3172/test.test E/unknown:ReactNative: Bundle url format is invalid. 
    
    java.net.MalformedURLException
06-28 09:35:38.633 3172-3172/test.test E/RNObject: java.lang.reflect.InvocationTargetException
06-28 09:35:39.833 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:35:39.933 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:35:44.933 3172-3172/test.test E/RNObject: Runtime exception in RNObject when calling method startReactApplication: java.lang.NullPointerException: expected receiver of type versioned.host.exp.exponent.modules.api.components.gesturehandler.react.RNGestureHandlerEnabledRootView, but got null
06-28 09:35:45.903 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:35:47.313 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:35:55.753 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:35:57.283 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:35:59.273 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:04.293 3172-3172/test.test E/RNObject: Runtime exception in RNObject when calling method startReactApplication: java.lang.NullPointerException: expected receiver of type versioned.host.exp.exponent.modules.api.components.gesturehandler.react.RNGestureHandlerEnabledRootView, but got null
06-28 09:36:05.073 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:08.003 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:10.563 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:14.873 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:17.763 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:19.773 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:21.273 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:24.683 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:26.703 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:29.453 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:34.763 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:38.913 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:44.933 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:48.743 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:53.713 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:36:57.283 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:00.793 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:05.533 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:15.413 3172-3172/test.test E/RNObject: Runtime exception in RNObject when calling method startReactApplication: java.lang.NullPointerException: expected receiver of type versioned.host.exp.exponent.modules.api.components.gesturehandler.react.RNGestureHandlerEnabledRootView, but got null
06-28 09:37:17.093 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:20.963 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:25.753 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:32.273 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:37.323 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:42.263 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:46.363 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:51.393 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:37:57.113 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:02.433 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:07.283 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:10.823 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:16.593 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:19.143 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:22.753 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:27.183 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:31.213 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:41.043 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:45.473 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:49.293 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:53.443 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:38:58.763 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:06.663 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:11.893 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:21.373 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:24.123 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:26.903 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:33.223 3172-3172/test.test E/RNObject: Runtime exception in RNObject when calling method startReactApplication: java.lang.NullPointerException: expected receiver of type versioned.host.exp.exponent.modules.api.components.gesturehandler.react.RNGestureHandlerEnabledRootView, but got null
06-28 09:39:34.483 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:37.993 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:40.673 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:44.113 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:47.783 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:50.883 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:54.813 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:39:58.443 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:03.423 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:07.283 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:10.993 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:15.473 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:19.303 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:24.173 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:27.983 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:32.293 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:36.033 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:39.843 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:43.083 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:47.183 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:53.113 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:40:59.883 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:41:03.713 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:41:17.153 3172-3172/test.test E/RNObject: Runtime exception in RNObject when calling method startReactApplication: java.lang.NullPointerException: expected receiver of type versioned.host.exp.exponent.modules.api.components.gesturehandler.react.RNGestureHandlerEnabledRootView, but got null
06-28 09:41:19.073 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:41:23.293 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:41:26.553 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:41:32.293 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:41:39.663 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:41:46.013 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:41:51.293 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:41:54.513 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:01.122 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:05.152 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:10.842 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:13.712 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:20.632 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:26.202 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:30.722 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:34.902 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:39.442 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:46.532 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:52.572 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:56.742 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:42:57.042 3172-4233/test.test E/AppLoader: Error fetching cached manifest, falling back to default timeout: java.io.IOException: No hard coded response found
06-28 09:43:00.142 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:09.202 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:15.032 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:21.502 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:28.322 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:33.822 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:40.122 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:45.632 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:50.442 3172-4295/test.test E/AppLoader: Error fetching cached manifest, falling back to default timeout: java.io.IOException: No hard coded response found
06-28 09:43:50.442 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:52.312 3172-3179/test.test E/dalvikvm: JIT code cache full
06-28 09:43:54.532 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:43:57.842 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:06.282 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:12.732 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:17.122 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:22.742 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:28.632 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:33.202 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:38.822 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:41.732 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:45.652 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:47.572 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:52.842 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:44:57.872 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:45:01.032 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:45:10.882 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:45:23.082 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:45:30.512 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:45:34.812 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:45:42.012 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:45:49.412 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:45:52.642 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:45:57.542 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:46:00.332 3172-4439/test.test E/dalvikvm: Could not find class 'android.hardware.fingerprint.FingerprintManager', referenced from method android.support.v4.hardware.fingerprint.FingerprintManagerCompat.getFingerprintManagerOrNull
06-28 09:46:00.472 3172-4439/test.test E/dalvikvm: Could not find class 'android.support.v4.hardware.fingerprint.FingerprintManagerCompat$1', referenced from method android.support.v4.hardware.fingerprint.FingerprintManagerCompat.wrapCallback
06-28 09:46:00.472 3172-4439/test.test E/dalvikvm: Could not find class 'android.hardware.fingerprint.FingerprintManager$CryptoObject', referenced from method android.support.v4.hardware.fingerprint.FingerprintManagerCompat.wrapCryptoObject
06-28 09:46:00.542 3172-4439/test.test E/dalvikvm: Could not find class 'android.hardware.fingerprint.FingerprintManager$CryptoObject', referenced from method android.support.v4.hardware.fingerprint.FingerprintManagerCompat.wrapCryptoObject
06-28 09:46:00.552 3172-4439/test.test E/dalvikvm: Could not find class 'android.hardware.fingerprint.FingerprintManager$CryptoObject', referenced from method android.support.v4.hardware.fingerprint.FingerprintManagerCompat.wrapCryptoObject
06-28 09:46:00.762 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:46:01.512 3172-4449/test.test E/dalvikvm: Could not find class 'android.security.keystore.KeyGenParameterSpec$Builder', referenced from method versioned.host.exp.exponent.modules.api.SecureStoreModule$AESEncrypter.initializeKeyStoreEntry
06-28 09:46:20.672 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:46:20.892 3172-4491/test.test E/AppLoader: Error fetching cached manifest, falling back to default timeout: java.io.IOException: No hard coded response found
06-28 09:46:22.672 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:46:27.072 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:46:28.572 3172-4475/test.test E/ReactNativeJS: Java exception in 'NativeModules'
    
    java.lang.AssertionError: No source URL loaded, have you initialised the instance?
06-28 09:46:28.572 3172-4471/test.test E/ReactNativeJS: Java exception in 'NativeModules'
    
    java.lang.AssertionError: No source URL loaded, have you initialised the instance?
06-28 09:46:28.602 3172-4475/test.test E/ReactNativeJNI: Got JS Exception: Java exception in 'NativeModules'
    
    java.lang.AssertionError: No source URL loaded, have you initialised the instance? (<unknown file>:15644)
    Got JS Stack: com.facebook.infer.annotation.Assertions.assertNotNull@Assertions.java:35
    com.facebook.react.modules.debug.SourceCodeModule.getConstants@SourceCodeModule.java:44
    com.facebook.react.bridge.JavaModuleWrapper.getConstants@JavaModuleWrapper.java:138
    com.facebook.react.bridge.queue.NativeRunnable.run@NativeRunnable.java
    android.os.Handler.handleCallback@Handler.java:733
    android.os.Handler.dispatchMessage@Handler.java:95
    com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage@MessageQueueThreadHandler.java:29
    
    loadModuleImplementation
    guardedLoadModule
    _require
    
    loadModuleImplementation
    guardedLoadModule
    _require
    
    loadModuleImplementation
    guardedLoadModule
    _require
    global code
06-28 09:46:28.602 3172-4471/test.test E/ReactNativeJNI: Got JS Exception: Java exception in 'NativeModules'
    
    java.lang.AssertionError: No source URL loaded, have you initialised the instance? (<unknown file>:15644)
06-28 09:46:28.622 3172-4471/test.test E/ReactNativeJNI: Got JS Stack: com.facebook.infer.annotation.Assertions.assertNotNull@Assertions.java:35
    com.facebook.react.modules.debug.SourceCodeModule.getConstants@SourceCodeModule.java:44
    com.facebook.react.bridge.JavaModuleWrapper.getConstants@JavaModuleWrapper.java:138
    com.facebook.react.bridge.queue.NativeRunnable.run@NativeRunnable.java
    android.os.Handler.handleCallback@Handler.java:733
    android.os.Handler.dispatchMessage@Handler.java:95
    com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage@MessageQueueThreadHandler.java:29
    
    loadModuleImplementation
    guardedLoadModule
    _require
    
    loadModuleImplementation
    guardedLoadModule
    _require
    
    loadModuleImplementation
    guardedLoadModule
    _require
    global code
06-28 09:46:29.642 3172-4473/test.test E/ReactNativeJS: Java exception in 'NativeModules'
    
    java.lang.AssertionError: No source URL loaded, have you initialised the instance?
06-28 09:46:29.812 3172-4473/test.test E/ReactNativeJNI: Got JS Exception: Java exception in 'NativeModules'
    
    java.lang.AssertionError: No source URL loaded, have you initialised the instance? (<unknown file>:15644)
    Got JS Stack: com.facebook.infer.annotation.Assertions.assertNotNull@Assertions.java:35
    com.facebook.react.modules.debug.SourceCodeModule.getConstants@SourceCodeModule.java:44
    com.facebook.react.bridge.JavaModuleWrapper.getConstants@JavaModuleWrapper.java:138
    com.facebook.react.bridge.queue.NativeRunnable.run@NativeRunnable.java
    android.os.Handler.handleCallback@Handler.java:733
    android.os.Handler.dispatchMessage@Handler.java:95
    com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage@MessageQueueThreadHandler.java:29
    
    loadModuleImplementation
    guardedLoadModule
    _require
    
    loadModuleImplementation
    guardedLoadModule
    _require
    
    loadModuleImplementation
    guardedLoadModule
    _require
    global code
06-28 09:46:30.072 3172-4477/test.test E/ReactNativeJS: Java exception in 'NativeModules'
    
    java.lang.AssertionError: No source URL loaded, have you initialised the instance?
06-28 09:46:30.442 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:46:30.492 3172-4475/test.test E/ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
06-28 09:46:30.492 3172-4475/test.test E/ReactNativeJNI: Got JS Exception: Exception calling object as function: Module AppRegistry is not a registered callable module (calling runApplication) (<unknown file>:2195)
    Got JS Stack: invariant
    __callFunction
    
    __guardSafe
    callFunctionReturnFlushedQueue
    callFunctionReturnFlushedQueue@[native code]
06-28 09:46:30.572 3172-4471/test.test E/ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
06-28 09:46:30.572 3172-4471/test.test E/ReactNativeJNI: Got JS Exception: Exception calling object as function: Module AppRegistry is not a registered callable module (calling runApplication) (<unknown file>:2195)
    Got JS Stack: invariant
    __callFunction
    
    __guardSafe
    callFunctionReturnFlushedQueue
    callFunctionReturnFlushedQueue@[native code]
06-28 09:46:31.492 3172-4477/test.test E/ReactNativeJNI: Got JS Exception: Java exception in 'NativeModules'
    
    java.lang.AssertionError: No source URL loaded, have you initialised the instance? (<unknown file>:15644)
    Got JS Stack: com.facebook.infer.annotation.Assertions.assertNotNull@Assertions.java:35
    com.facebook.react.modules.debug.SourceCodeModule.getConstants@SourceCodeModule.java:44
    com.facebook.react.bridge.JavaModuleWrapper.getConstants@JavaModuleWrapper.java:138
    com.facebook.react.bridge.queue.NativeRunnable.run@NativeRunnable.java
    android.os.Handler.handleCallback@Handler.java:733
    android.os.Handler.dispatchMessage@Handler.java:95
    com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage@MessageQueueThreadHandler.java:29
    
    loadModuleImplementation
    guardedLoadModule
    _require
    
    loadModuleImplementation
    guardedLoadModule
    _require
    
    loadModuleImplementation
    guardedLoadModule
    _require
    global code
06-28 09:46:31.492 3172-4477/test.test E/ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
06-28 09:46:31.492 3172-4477/test.test E/ReactNativeJNI: Got JS Exception: Exception calling object as function: Module AppRegistry is not a registered callable module (calling runApplication) (<unknown file>:2195)
06-28 09:46:31.512 3172-4477/test.test E/ReactNativeJNI: Got JS Stack: invariant
    __callFunction
    
    __guardSafe
    callFunctionReturnFlushedQueue
    callFunctionReturnFlushedQueue@[native code]
06-28 09:46:31.662 3172-4473/test.test E/ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
06-28 09:46:31.662 3172-4473/test.test E/ReactNativeJNI: Got JS Exception: Exception calling object as function: Module AppRegistry is not a registered callable module (calling runApplication) (<unknown file>:2195)
    Got JS Stack: invariant
    __callFunction
    
    __guardSafe
    callFunctionReturnFlushedQueue
    callFunctionReturnFlushedQueue@[native code]
06-28 09:46:31.692 3172-4518/test.test E/AppLoader: Error fetching cached manifest, falling back to default timeout: java.io.IOException: No hard coded response found
06-28 09:46:37.262 3172-3172/test.test E/AsyncCondition: Map already contains entry for key experienceIdSetForActivity. Ignoring.
06-28 09:46:43.942 3172-3172/test.test E/ErrorFragment: ErrorActivity message: Sorry about that. Press the reload button to try again.
06-28 09:46:45.522 3172-3172/test.test E/ErrorFragment: ErrorActivity message: Sorry about that. Press the reload button to try again.

I’m having the same issue here. Is there any workaround? Thank you.

I lost 4 days troubleshooting this and in the end just resorted to setting our minSDK to 21.

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