Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facing issue " Failed to install the app. Make sure you have the Android development environment " in react native

Would you please help me, I am stuck to create a new project in react-native Like below screenshot. I have able to run old projects. but I am not able to run a new project

I have followed these steps:

  1. react-native init projectName
  2. cd projectName
  3. react-native run-projectName

But I get the error below:

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

Screenshot

like image 848
Praful Argiddi Avatar asked Jul 04 '19 15:07

Praful Argiddi


1 Answers

I was receiving this error message when running react-native run-android.

When I ran cd android && ./gradlew clean I was getting permission errors also.

I ran chmod +x gradlew and it started working

like image 112
Dylan w Avatar answered Sep 19 '22 18:09

Dylan w