Hey everyone,
just ejected my Expo project to android. and opened the android folder with android studio.
on my first try to build, i got a failure to download almost any dependency.
the dependencies failing:
api ‘com.facebook.react:react-native:32.0.0’
api ‘host.exp.exponent:expo-app-loader-provider:1.0.0’
api ‘host.exp.exponent:expo-core:2.0.0’
api ‘host.exp.exponent:expo-constants-interface:2.0.0’
api ‘host.exp.exponent:expo-constants:2.0.0’
api ‘host.exp.exponent:expo-errors:1.0.0’
api ‘host.exp.exponent:expo-file-system-interface:2.0.0’
api ‘host.exp.exponent:expo-file-system:2.0.0’
api ‘host.exp.exponent:expo-image-loader-interface:2.0.0’
api ‘host.exp.exponent:expo-permissions:2.0.0’
api ‘host.exp.exponent:expo-permissions-interface:2.0.0’
api ‘host.exp.exponent:expo-sensors-interface:2.0.0’
api ‘host.exp.exponent:expo-react-native-adapter:2.0.0’
api ‘host.exp.exponent:expo-task-manager:1.0.0’
api ‘host.exp.exponent:expo-task-manager-interface:1.0.0’
Hey @avihuja - those dependencies should not be downloaded from any remote maven repository, but rather should be included from your local machine. It’s hard to tell why gradle can’t find them without more information. Could you post the full error message that you get when you try to make a build, and also your package.json file? Also, what operating system are you on?
I am also getting error on com.facebook.react. Trying to build on Mac after Eject. Below error message coming up after waiting for a few minutes on “Execute Project.afterEvaluate listener” step in Android Studio.
Could not find com.facebook.react:react-native:32.0.0.
Required by:
project :app
Search in build.gradle files