Created
May 26, 2020 19:13
-
-
Save MianJawadAhmad/01c4ed06715c350557a3170e75a756ea to your computer and use it in GitHub Desktop.
React Native error and solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Thanks, it works!
worked
Thanks bro, it works.
August 11 2023, It works!
Worked, thanks!
Just run this:
sudo chmod +x android/gradlew && npm run android
Works, thanks!
thanks bro, it works
nice one !!!
You are the best .
Works Thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks you! Lifesaver