小编Pri*_*nko的帖子

如何解决无法启动模拟器的错误。原因:在 React Native 中没有找到模拟器作为 `emulator -list-avds` 的输出?

我正在为移动应用程序创建反应本机应用程序。我是构建 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)

android reactjs react-native

11
推荐指数
2
解决办法
3万
查看次数

标签 统计

android ×1

react-native ×1

reactjs ×1