What went wrong:
A problem occurred configuring project ‘:app’.
The SDK directory ‘C:\harsha-master\harsha-master\android\C:UsersAdminAppDataLocalAndroidSdk’ does not exist.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 21s
error Failed to install the app. Make sure you have the Android development environment set up: Introduction · React Native. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ‘:app’.
The SDK directory ‘C:\harsha-master\harsha-master\android\C:UsersAdminAppDataLocalAndroidSdk’ does not exist.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 21s
at checkExecSyncError (child_process.js:630:11)
at execFileSync (child_process.js:648:15)
at runOnAllDevices (C:\harsha-master\harsha-master\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:39)
at processTicksAndRejections (internal/process/task_queues.js:97:5)