Error: Command failed: adb shell am start -n com.getgroceryapp/com.getgroceryapp.MainActivity at makeError (F:\desuvit\projects\workingbranch\MobileApp\node_modules\execa\index.js:174:9)
node version: 12.4.0 npm version: 6.14.7 Using these command for running the app: 1)react-native run-android or npx react-native run-android also same error
after i upgraded to v12.18.3(node version) also same error. but i'm trying to run the project getting above error please help me
advance thanks....
Open Android Studio File -> Project Structure -> Gradle Settings -> Gradle JDK
and set up as
Embedded JDK
This worked for me after trying so many other options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With