Skip to content

Instantly share code, notes, and snippets.

View MianJawadAhmad's full-sized avatar
:electron:

Mian Jawad Ahmad MianJawadAhmad

:electron:
View GitHub Profile
@MianJawadAhmad
MianJawadAhmad / React Native error and solution
Created May 26, 2020 19:13
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
Flutter command not found
Instead of this:
export PATH=Users/apple/development/flutter/bin:$PATH
Use this:
export PATH=$HOME/development/flutter/bin:$PATH