question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed run android simulator : No connected devices!

See original GitHub issue

I try to run app on android simulator but failed

:app:installDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: No connected devices!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:46
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

82reactions
idecommented, Sep 28, 2015

Launch the simulator and try running again.

74reactions
TheNotarycommented, May 23, 2016

Google brought me here, thought I’d share notes:

If you don’t have any devices listed from adb devices You’ll want to start by creating an Android Virtual Device image.

$  android create avd -n <name> -t <target> --abi default/x86_64

<name> can be anything, such as react, <target> should be one of the options produced by the below command…

$  android list targets

If that listing is empty, use the android command’s GUI to install a target platform and such.

When you have the platform, and the device, you can then boot the device with emulator:

$  emulator -avd <name>

Once booted, the command you were likely trying to run react-native run-android should produce the effect of a react mobile app running in your emulator window.

See: http://stackoverflow.com/questions/4974568/how-do-i-launch-the-android-emulator-from-the-command-line

Read more comments on GitHub >

github_iconTop Results From Across the Web

Message "flutter run: No connected devices" - Stack Overflow
1. Check if authorized: Open terminal/cmd/PowerShell and write adb devices . It will show you all connected devices to the PC.
Read more >
Solve The Error: No Connected Devices - Flutter Agency
First, run Android Emulator; Then go to your Flutter Console; Run the command flutter doctor & check whether your emulator is showing under...
Read more >
Flutter:No connected devices error - Solution
Android Physical Device · On your physical device, go to Settings>System>About phone · Down below the options, you could see an option Build...
Read more >
Troubleshoot known issues with Android Emulator
On Windows, when the Device Manager creates an Android Virtual Device (AVD), it by default creates the AVD at C:\Users\<name>\.android\avd .
Read more >
error failed to launch emulator - You.com | The AI Search ...
Open Android Studio Tools -> AVD Manager Virtual Device -> Actions (Refer Image) Click On Stop Now Start Emulator Now it's working fine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found