Closed JimVanEeden closed 2 years ago
does the file from error message exists ? /Users/xxxx/.turtle/workingdir/android/sdk43/android-shell-app/expoview/src/main/java/host/exp/exponent/experience/MultipleVersionReactNativeActivity.java
also check if /Users/xxxx/.turtle/workingdir/android/sdk43/android/expoview/src/main/java/host/exp/exponent/experience/MultipleVersionReactNativeActivity.java
exists
Most likely there was some issue during download and some of the files are missing, delete entire .turtle
directory and try again
Thank you for your help. Here's what's in the folders:
➜ ~ ls .turtle/workingdir/android/sdk43/android-shell-app/expoview/src/main/java/host/exp/exponent/experience/
BaseExperienceActivity.kt DevBundleDownloadProgressListener.kt ErrorFragment.kt HomeActivity.kt loading
DetachActivity.kt ErrorActivity.kt ErrorQueueAdapter.kt ReactNativeActivity.kt splashscreen
DetachedModuleRegistryAdapter.kt ErrorConsoleFragment.kt ExperienceActivity.kt TvActivity.kt
➜ ~ ls .turtle/workingdir/android/sdk43/android/expoview/src/main/java/host/exp/exponent/experience
BaseExperienceActivity.kt DevBundleDownloadProgressListener.kt ErrorFragment.kt HomeActivity.kt loading
DetachActivity.kt ErrorActivity.kt ErrorQueueAdapter.kt ReactNativeActivity.kt splashscreen
DetachedModuleRegistryAdapter.kt ErrorConsoleFragment.kt ExperienceActivity.kt TvActivity.kt
I've deleted the ~/.turtle
folder twice and tried to reinstall both with turtle setup:android --sdk-version 43.0.0
and turtle build:android
, but the same result unfortunately. File is still missing.
It seems turtle is trying to call some file that doesn't exist (anymore) in SDK43. This is what's in the expo repo as well:
https://github.com/expo/expo/tree/master/android/expoview/src/main/java/host/exp/exponent/experience
I can't reproduce that, few things you might check:
I just updated turtle-cli to 0.23.6 (released yesterday), from 0.23.5. Now everything seems to work again. Unsure what the problem was in the end, but closing the issue. Thank you for your help.
New Issue Checklist
yarn global add turtle-cli
ornpm install --global turtle-cli
).Issue Description
Turtle fails to build app since expo SDK43 on Android. IOS build works fine. Older versions of the expo SDK also work fine.
Command executed
Complete output when running turtle, including the stack trace and command used
Environment