You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: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!
s2t2, andreevym, chrisl8888, NoelBroda, joaumg and 41 more
changed the title [-]Failed run react-native run-android : No connected devices![/-][+]Failed run android simulator : No connected devices![/+]on Sep 28, 2015
<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.
Further to @TheNotary comment. Instead of creating your Android Virtual Device (AVD) from the command line with android create ...), you may find creating the AVDs with a GUI interface much easier (where you can see all the options available) by just opening the Android Virtual Device (AVD) Manager with android avd
So, basically everytime want to react-native run-android I first have to go to ../Library/Android/sdk/tools and run emulator -avd <avd_name>, wait until the emulator loads and then run react-native run-android?
$ android list target
*************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
Running /usr/lib/android-sdk/tools/bin/avdmanager list target
On Wed, Jul 18, 2018, 2:43 AM TheNotary ***@***.***> wrote:
Ok, I got the mailware to download correctly, but now it says:
This malware requires Windows 7 and above to work.
What should I do if I'm on a real operating system like Debian?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3091 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AnbCOzhmtCA_mvme81Pjwxj5jUwtYZTnks5uHmFtgaJpZM4GEt-e>
.
Activity
[-]Failed run react-native run-android : No connected devices![/-][+]Failed run android simulator : No connected devices![/+]satya164 commentedon Sep 28, 2015
What does
adb devices
print? If debugging mode turned on in your phone?nvcken commentedon Sep 28, 2015
I have not plug real phone for running app.
I want to run app on "virtual android" simulator as like as xcode emulator
ide commentedon Sep 28, 2015
Launch the simulator and try running again.
nvcken commentedon Sep 28, 2015
It works.
Thanks all
mgenev commentedon Feb 11, 2016
@ide how to launch the simulator on its own? Cordova has always launched it for me so far
ide commentedon Feb 11, 2016
@mgenev https://developer.android.com/tools/building/building-cmdline.html#RunningOnEmulator
TheNotary commentedon 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.<name>
can be anything, such as react,<target>
should be one of the options produced by the below command...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:
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
emanuti commentedon Sep 5, 2016
In my case, It was on my device.
http://facebook.github.io/react-native/releases/0.23/docs/android-setup.html#troubleshooting
On Terminal, I made step 1 and after run react-native start at root directory and then on other table run react-native run-android.
ltfschoen commentedon Jun 2, 2017
Further to @TheNotary comment. Instead of creating your Android Virtual Device (AVD) from the command line with
android create ...
), you may find creating the AVDs with a GUI interface much easier (where you can see all the options available) by just opening the Android Virtual Device (AVD) Manager withandroid avd
lc-rezende commentedon Dec 23, 2017
So, basically everytime want to
react-native run-android
I first have to go to../Library/Android/sdk/tools
and runemulator -avd <avd_name>
, wait until the emulator loads and then runreact-native run-android
?francisrod01 commentedon Dec 23, 2017
@nvcken I think that you have the same problem with two adb in your machine.
Please remove
android-tools-adb
because it's outdated and appoint/usr/bin/adb
to adb from Android SDK and try it again. ;)See more about how I solved that in this issue lugg/react-native-config#202
dann1609 commentedon Mar 20, 2018
close all simulators and run it again.
markhu commentedon May 11, 2018
FWIW, some of the above advice is out-dated...
alidoran commentedon Jul 17, 2018
by this file memu adb and memu ide and memu connect problem solved
http://cdn.persiangig.com/download/e8HZsJdyji/memu%20repair.exe/dl
TheNotary commentedon Jul 17, 2018
The image upload didn't work and only made a malware link :/
alidoran commentedon Jul 17, 2018
alidoran commentedon Jul 17, 2018
i repair link
this file edit memu and need to turn off antivirus 3 second for install
TheNotary commentedon Jul 17, 2018
Ok, I got the mailware to download correctly, but now it says:
What should I do if I'm on a real operating system like Debian?
alidoran commentedon Jul 18, 2018