小编kar*_*ide的帖子

React Native无法创建ADB桥错误

JS服务器已在运行。
在设备上构建和安装应用程序(cd android && gradlew.bat installDebug)...
下载https://jcenter.bintray.com/com/facebook/react/react-native/0.20.1/react-native-0.20 .1.pom
....#大量下载在这里
:app:assembleDebug:app:installDebug 05:13:20 E / adb:无法获得'adb版本'的结果:app:installDebug失败

失败:构建失败,发生异常。

  • 出了什么问题:任务':app:installDebug'的执行失败。

    com.android.builder.testing.api.DeviceException:无法创建ADB桥。亚行位置:D:\ Android \ sdk \ platform-tools \ adb.exe

  • 尝试:使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行以获取更多日志输出。

我使用的是Windows计算机和android studio,并且已按照
https://facebook.github.io/react-native/docs/getting-started.html上的教程进行操作,
因此无法执行“在命令提示符下运行react-native run-android'

另外,运行adb版本可以

Android Debug Bridge版本1.0.32
修订版eac51f2bb6a8-android

adb android-studio react-native

5
推荐指数
1
解决办法
6054
查看次数

标签 统计

adb ×1

android-studio ×1

react-native ×1