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

React-Native failed to install app due to android developement environment

$
0
0

After messing up with my .zshrc file, and fixing it to working fine, I am beginning to have issues starting a react-native app, if I should run a flutter app using android studio, it opens in the android emulator, but if I should do react-native run-android it fails, giving me the below error

error Failed to install the app. Make sure you have the Android development environment set up

Here is my .zshrc config

export ANDROID_HOME=/Users/squarelabs/Library/Android/sdkexport PATH=$ANDROID_HOME/emulators:$PATHexport PATH=$ANDROID_HOME/tools:$PATH export PATH=$ANDROID_HOME/tools/bin:$PATHexport PATH=$ANDROID_HOME/platform-tools:$PATH```

Viewing all articles
Browse latest Browse all 29588

Trending Articles



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