Help me to configure my mac properly for running npx react-native run-android
Budget: $10 – $30 AUD
My system can't run my react native apps on Android Emulator. Running on Emulator from Expo is fine but if I create new react native app, it won't build.
Help me to configure my mac properly for running npx react-native run-android.
I've gone through the setup steps for Configure the ANDROID_HOME environment variable etc but nothing seems to help.
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
* Where:
Settings file '/Users/me/reactnative-new/testandroid/AwesomeProject/android/settings.gradle'
* What went wrong:
Could not compile settings file '/Users/me/reactnative-new/testandroid/AwesomeProject/android/settings.gradle'.
Help me to configure my mac properly for running npx react-native run-android.
I've gone through the setup steps for Configure the ANDROID_HOME environment variable etc but nothing seems to help.
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
* Where:
Settings file '/Users/me/reactnative-new/testandroid/AwesomeProject/android/settings.gradle'
* What went wrong:
Could not compile settings file '/Users/me/reactnative-new/testandroid/AwesomeProject/android/settings.gradle'.