You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create an example with Expo Router V2 and Social Authentication with Supabase for everyone to use. Although I'm struggling a lot with building my project.
Building on iOS works without any issues, but it seems like I can't build the project for Android.
After running expo prebuild && expo run:android
I keep running into the error:
Execution failed for task ':expo-modules-core:compileDebugKotlin'.
I've been trying everything I can find on the internet to make it work.
Adding android.defaults.buildfeatures.buildconfig=true in gradle.properties, because without that I run into defaultConfig contains custom BuildConfig fields, but the feature is disabled. error constantly.
I just found out that building the project through Android Studio works. Although this messes with my environment settings. So help on fixing the npm run android and e.g. npm run android:production commands are more than welcome.
The text was updated successfully, but these errors were encountered:
I fixed my issues. After running a clean prebuild with expo prebuild --clean, I finally ran into this error:
Which I solved by locating all my installed java version and removing every one except v11.
To locate: /usr/libexec/java_home -V
Remove with rm -rf. After that I had no issues building anymore
@shawarmaz as far as I can see the problem is solved with expo-modules-core@1.5.9. You can either use overrides in your package.json or force expo to version "^49.0.7".
Summary
I'm trying to create an example with Expo Router V2 and Social Authentication with Supabase for everyone to use. Although I'm struggling a lot with building my project.
Building on iOS works without any issues, but it seems like I can't build the project for Android.
After running
expo prebuild && expo run:android
I keep running into the error:
Execution failed for task ':expo-modules-core:compileDebugKotlin'.
I've been trying everything I can find on the internet to make it work.
build.gradle
android.defaults.buildfeatures.buildconfig=true
ingradle.properties
, because without that I run intodefaultConfig contains custom BuildConfig fields, but the feature is disabled.
error constantly.react-native-reanimated
as suggested over hereSeems like there is very little to find about the issues I'm encountering. So any help would be appreciated a lot.
Managed or bare workflow?
bare
What platform(s) does this occur on?
Android
Package versions
Environment
Reproducible demo
The code over here is as minimum as possible for my use case https://github.com/rnnyrk/expo-router-supabase-social-auth.
EDIT
I just found out that building the project through Android Studio works. Although this messes with my environment settings. So help on fixing the
npm run android
and e.g.npm run android:production
commands are more than welcome.The text was updated successfully, but these errors were encountered: