Sathya Baman Sathya Baman -3 years ago 142
React JSX Question

SDK error in React native

i am new to react native and an trying to run the project on emmulator "react-native run-android" . iam getting the error.

* What went wrong:
A problem occurred configuring project ':app'.
> The SDK directory 'D:\ReactNativeLearning\zupportdeskchat\ZDReactNative\zupportdeskapp\android\"D:\Android\sdk"' does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


Total time: 5.253 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:

My Sdk Folder is in

sdk.dir ="D:/Android/sdk"

I set it up in

Can someone help me to fix this tnx.

Answer Source

If you are working on windows system then path should be:


Clear build cache and npm cache then try to make build.

Also check, your device is connected or not.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download