Pratap Penmetsa
Pratap Penmetsa

Reputation: 1237

not able to run react-native project android version

react-native run-android shows  env: sh\r: No such file or directory

enter image description here

Upvotes: 0

Views: 641

Answers (2)

Saloni Parikh
Saloni Parikh

Reputation: 154

try to clean and rebuild your project

  1. react-native start --reset-cache
  2. cd android
  3. gradlew clean
  4. gradlew assembleDebug

or you can simply reinstall npm modues

Upvotes: 1

hong developer
hong developer

Reputation: 13926

See if you've done this.

  1. npm install -g react-native-cli
  2. react-native init yourproject
  3. cd yourproject && react-native run-android

Upvotes: 0

Related Questions