Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29594

SDK location not found on Mac?

$
0
0

I'm trying to run my React-native app "Android" but in every single time before i add the SDK path inside project files manually like this

local.properties

sdk.dir=/Users/USERNAME/Library/Android/sdk

RN Error

  • What went wrong: A problem occurred configuring project ':app'.

    SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/Volumes/..../.../.../.../android/local.properties'.

but that's tired if i want to do it in every single project i work for it

I'm Seen these answers but no one works for me

and here my .bash_profile =>nano ~/.bash_profile

enter image description here

So What's Wrong I made?


Viewing all articles
Browse latest Browse all 29594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>