【发布时间】:2020-06-19 23:40:44
【问题描述】:
我正在尝试构建一个 react-native 项目但每次都显示以下错误,但我已经安装了 adb。
* What went wrong:
A problem was found with the configuration of task ':app:installDebug'.
> File '/home/praneeth/Android/platform-tools/adb' specified for property 'adbExe' does not exist.
我重新安装了 adb 但没有机会解决问题。
我的构建环境是 Ubuntu 20.04
编辑 请注意,根据此答案React Native android adbExe does not exist
,我以其他方式将 adb 二进制文件复制为 adb.exe【问题讨论】:
-
可能重复,请参考下面的解决方案React Native android adbExe does not exist
-
@SudarakaSenevirathne 在发布此之前我提到了它。但不是运气。构建器直到现在都没有错误地工作。我想知道这是偶然发生的。
标签: android react-native