Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28480

react-native android error Failed to install the app native_modules.gradle' line: 170

$
0
0

running react-native run-android in windows but get this error:

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: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 :ReactNative:Unexpected empty result of running 'npx --quiet --no-install react-native config' command from 'null' directory. :ReactNative:Running 'npx --quiet --no-install react-native config' command from 'null' directory failed.

FAILURE: Build failed with an exception.

  • Where: Script '/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 170

  • What went wrong: A problem occurred evaluating script.

    Command config unrecognized. Make sure that you have run npm install and that you are inside a react-native project.


Viewing all articles
Browse latest Browse all 28480

Trending Articles