Skip to content

Instantly share code, notes, and snippets.

@MianJawadAhmad
Created May 26, 2020 19:13
Show Gist options
  • 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
@theDeji
Copy link

theDeji commented Nov 8, 2023

Works, thanks!

@nguyendinhduy13
Copy link

thanks bro, it works

@szhussain
Copy link

nice one !!!

@darimuhittin
Copy link

You are the best .

@bhargavhirpara2
Copy link

Works Thanks

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