React Native: SDK directory does not exist
-
Trying to launch a default project. At first, there was a mistake:
SDK location not found
English StackOverFlow https://stackoverflow.com/questions/32634352/react-native-android-build-failed :
Go to the android/ directory of your react-native project Create a file called local.properties with this line: sdk.dir = /Users/USERNAME/Library/Android/sdk
I've created this file, and I've got a way to director sdk.
sdk.dir = /Users/Sketc_000/AppData/Local/Android/sdk1
Now he's giving it
I mean, he's using the address I wrote, but somehow he's sticking to him at first the address of the project file. How do I fix it?
-
You indicated a relative path.
Write the full, from the root of the disk. About:
sdk.dir = C://Users/Sketc_000/AppData/Local/Android/sdk1