Skip to content

Instantly share code, notes, and snippets.

@MianJawadAhmad
Created May 26, 2020 19:13
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MianJawadAhmad/01c4ed06715c350557a3170e75a756ea to your computer and use it in GitHub Desktop.
Save MianJawadAhmad/01c4ed06715c350557a3170e75a756ea to your computer and use it in GitHub Desktop.
React Native error and solution
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details. Error: spawnSync ./gradlew EACCES at Object.spawnSync (internal/child_process.js:1045:20) at spawnSync (child_process.js:597:24) at execFileSync (child_process.js:624:15) at runOnAllDevices
Soluton: chmod 755 android/gradlew
@soberservicesguy
Copy link

soberservicesguy commented Apr 20, 2023

nice , it works !

@gsharew
Copy link

gsharew commented May 3, 2023

Thank you bro it works.

@Killtutor
Copy link

Thanks you! Lifesaver

@pabloabreu1986
Copy link

Thanks, it works!

@break123456
Copy link

worked

@osmancansiz
Copy link

Thanks bro, it works.

@matgizu
Copy link

matgizu commented Aug 11, 2023

August 11 2023, It works!

@karianmash
Copy link

Worked, thanks!

@zackha
Copy link

zackha commented Sep 11, 2023

Just run this:
sudo chmod +x android/gradlew && npm run android

@theDeji
Copy link

theDeji commented Nov 8, 2023

Works, thanks!

@nguyendinhduy13
Copy link

thanks bro, it works

@szhussain
Copy link

nice one !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment