- 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
Where USERNAME
is your macOS username
android/
directory of your react-native projectlocal.properties
with this line:sdk.dir = /Users/USERNAME/Library/Android/sdk
Where USERNAME
is your macOS username