I'm using React Native for making an android app but when I try to run that app, it stops because it can't find SDK location. My project location is: E:\UD1\projects\Calculator and this is the Android SDK location: D:\AndroidSDK
I tried adding SDK location to local.properties file like this:
sdk.dir = D:\AndroidSDK
but it didn't work and now I have this strange error:
The SDK directory 'E:\UD1\projects\Calculator\android\D:AndroidSDK' does not exist.
What should I do to fix this problem?