Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when building android app with expo build

Build fails at gradlew with the following error.

Settings file '/home/expo/workingdir/build/apps/expo/android/settings.gradle' line: 4
 * What went wrong:
Plugin [id: 'com.facebook.react.settings'] was not found in any of the following sources:
 * Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
 * Included Builds (No included builds contain this plugin)
 * Plugin Repositories (plugin dependency must include a version number for this source)`

 * reinstall node_modules
 * npx expo run:android fine
 * eas build failing

Build is run with managed workflow, so this settings file is automaticaly generated.

like image 777
nlsn Avatar asked Oct 30 '25 00:10

nlsn


1 Answers

The Github outage caused this issue, but it's back up now. I had to run again expo prebuild --clean before expo run:android --device would work again.

like image 105
JCraine Avatar answered Oct 31 '25 14:10

JCraine



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!