ARTICLE AD BOX
I am creating an Github workflow for Android I am running the following commands
rm -rf node_modules npm install --verbose ( I am using Nexus Proxy created for NPM) npx --yes expo prebuild --skip-dependency-update react,react-dom,react-native npx --yes react-native-asset npx instrumentDynatraceI am stuck with the following error
Configure project :notifee_react-native :notifee_react-native @notifee/react-native found at /home/runner/_work/app/node_modules/@notifee/react-native :notifee_react-native package.json found at /home/runner/_work/app/node_modules/@notifee/react-native/package.json :notifee_react-native:version set from package.json: 9.1.8 (9,1,8 - 9001008) :notifee_react-native:android.compileSdk using custom value: 34 :notifee_react-native:android.targetSdk using custom value: 34 :notifee_react-native:android.minSdk using custom value: 23 :notifee_react-native:reactNativeAndroidDir /home/runner/_work/app/node_modules/react-native/android FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring project ':react-native-android-keyboard-adjust-originallyus'.Could not resolve all dependencies for configuration ':react-native-android-keyboard-adjust-originallyus:classpath'. Cannot resolve external dependency com.android.tools.build:gradle:2.3.0 because no repositories are defined. Required by: project :react-native-android-keyboard-adjust-originallyus
My android/build.gradle file
In my android/app/build.gradle i don't have the below section
buildscript { repositories { google() mavenCentral() }Tools Info:
Node.js version : 20.0.0 NPM: 10.8.2 Expo-CLI : 6.3.12 Java : 17 Androdid commandlinetools : commandlinetools-linux-14742923_latest.zip OS: Ubuntu