我正在为移动应用程序创建反应本机应用程序。我是构建 React Native 应用程序的新手。我正在使用 ubuntu 创建应用程序,并按照以下链接创建应用程序。 https://facebook.github.io/react-native/docs/getting-started。有人可以解决这个问题吗?
在下面的阶段我收到错误:
cd AwesomeProject
npx react-native run-android
Run Code Online (Sandbox Code Playgroud)
我的命令行出错:
All-Series:~/Projects_App/AwesomeProject$ npx react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 864 file(s) to forward-jetify. Using 4 workers...
info Starting JS server...
/bin/sh: 1: adb: not found
info Launching emulator...
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. …Run Code Online (Sandbox Code Playgroud)