Issue I met
I want to follow this article to learn creating apps with react native. But I met several issues:
error Failed to launch emulator. Reason: No emulators found as an output of
emulator -list-avds
. warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch. info Installing the app… Task :app:installDebug FAILED
Then I realized the another issue prompted:
/bin/sh: adb: command not found
How to solve
After googling, I got answer:
|
|
and I ran it again, it works. But I think you should also have created an AVD as well.