What happened and how can I fix it? (React-Native run-android)

Asked

Viewed 2,555 times

-1

FAILURE: Build failed with an Exception.

  • What Went Wrong: Execution failed for task ':app:installDebug'.

    com.android.Builder.testing.api.Deviceexception: No Connected Devices!

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

FAILED BUILD

Total time: 2.613 secs Could not install the app on the device, read the error above for Details. Make sure you have an Android Emulator running or a device Connected and have set up your Android: https://facebook.github.io/react-native/docs/getting-started.html

1 answer

1


The application is not recognizing any connected physical device or emulator running on your machine.

Remember that to test a physical device you need to enable USB debugging mode through the "Developer Option" session in your Android device settings.

If you don’t have a physical Android device, test through an emulator. Android-Studio presents the AVD manager where you can create several android emulators.

  • Topp was just that! Beginner error. Valew!

  • @Cichoki Remember to mark as answered the question, helps keep organized for those looking to solve the questions! And good development bro! :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.