expo: When I detach and build in Android Studio, I get a RuntimeException: Didn't find class

iOS(Xcode) Building is well. But in Android(Android Studio), be terminated on runtime. (when be install and just started)

Error Message below. java.lang.RuntimeException: Unable to instantiate application host.exp.exponent.MainApplication: java.lang.ClassNotFoundException: Didn't find class "host.exp.exponent.MainApplication" on path: DexPathList[[zip file "/data/app/com.zzieut.zzim-2/base.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_dependencies_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_0_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_1_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_2_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_3_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_4_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_5_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_6_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_7_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_8_apk.apk", zip file "/data/app/com.zzieut.zzim-2/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.zzieut.zzim-2/lib/arm, /vendor/lib, /system/lib]]

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 5
  • Comments: 19 (8 by maintainers)

Most upvoted comments

I am getting this error in development mode on API level 28. App randomly shuts down upon startup with the same error

Having the same problem while targeting API 23, or API 26. App closes as soon as it’s launched, with the same error message. It literally worked 3 days ago, no changes to the android files.

Confirm for Android 5.0 and 5.1. For 6.0 and newer problem does not exist for me.