Open aerielcruz opened 9 months ago
Fixed it! 🥳 This is what I did
expo-splash-screen
(replace this with the expo module)
npm why expo-splash-screen
expo-splash-screen@0.17.5
node_modules/expo-splash-screen
expo-splash-screen@"~0.17.0" from expo-app-loading@2.1.1
node_modules/expo-app-loading
expo-app-loading@"~2.1.1" from the root project
expo-app-loading
and it is a deprecated packageexpo-app-loading
, build again and voila problem solved! 😄 Even this solved my issue, I still want to know how to update the build.gradle
file for a managed workflow.
@aerielcruz You can use config plugin to modify the native files for a managed workflow
Here's an example that modifies file /android/app/build.gradle
If you want to modify file /android/build.gradle
, use withProjectBuildGradle
from @expo/config-plugins
instead
Gradle 8 Migration for Custom Expo Modules https://github.com/expo/fyi/blob/main/expo-modules-gradle8-migration.md#error-task-current-target-is-17-and-compilereleasekotlin-task-current-target-is-11-jvm-target-compatibility-should-be-set-to-the-same-java-version
It says that you have to patch the build.gradle file of the expo module but am I supposed to edit it from node_modules?
An example would be
expo-splash-screen
This issue only happens for Android and not iOS.