-1

So I'm trying to get my react native software to run and it's popping up with an error saying The SDK directory 'C:\Program Files\Android\Android studio; ' does not exist. How can I fix this?

  • Install Android studio. To do react native setup with Android studio you can refer: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment – Raviprakash Apr 08 '18 at 11:48
  • Possible duplicate of [React Native android build failed. SDK location not found](https://stackoverflow.com/questions/32634352/react-native-android-build-failed-sdk-location-not-found) – Patrick Sep 29 '18 at 00:54

1 Answers1

0

Lookup 2 places:

If you installed all necessary things listed in guide just do: react-native init YOURPROJECTNAME

and after build add local.properties file in android folder of your app. It should contain line: sdk.dir = C:\\Users\\USERNAME\\AppData\\Local\\Android\\sdk

jStefko
  • 33
  • 1
  • 6