【发布时间】:2018-03-11 15:09:58
【问题描述】:
我正在尝试访问我的 React Native 应用程序的日志。
为此,我正在跑步:
react-native log-android
但是,我遇到了这个问题:
error: more than one device/emulator
adb invocation failed. Do you have adb in your PATH?
(node:24464) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): undefined
(node:24464) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
adb 肯定在我的路径中,所以这不是问题。
我只打开了一个 Android 模拟器。
知道还有什么可能导致这种情况吗?
【问题讨论】:
标签: android macos react-native