Could somebody help me fix this problem? When I run react-native run-android in CMD Windows OS, I got this error.
A problem occurred configuring project ':app'. The SDK directory 'C:\Users\ABC\AppData\Local\Android\Sdk\platform-tools;C:\Users\ABC\AppData\Local\Android\Sdk' does not exist.
I searched everything to fix it but not successful.
- I created local.properties in android dir and add this:
sdk.dir = C:\\Users\\ABC\\AppData\\Local\\Android\\Sdk
- Create ANDROID_HOME variable:
C:\Users\ABC\AppData\Local\Android\Sdk
and add to path: ...%ANDROID_HOME%platforms;%ANDROID_HOME%platform-tools but no luck.
Please help.