开发者社区> 问答> 正文

android studio中使用第三方模拟器Genymotion,新建项目编译不成功

android studio错误提示:

 Unable to establish a connection to adb.
 This usually happens if you have an incompatible version of adb running already.
 Try re-opening Studio after killing any existing adb daemons.
 If this happens repeatedly, please file a bug at http://b.android.com including the following:
 1. Output of the command: 'D:\Program Files\Android\Android\sdk\platform-tools\adb.exe devices'
 2. Your idea.log file (Help | Show Log in Explorer)

展开
收起
爵霸 2016-05-30 10:31:22 2820 0
1 条回答
写回答
取消 提交回答
  • 由于使用第三方模拟器Genymotion所指定的SDK路径与android studio所指定路径不一致,导致模拟器启动时候运行的adb不是android studio配置目录下的,当编译时启动adb时,提示adb已经正在运行。

    2019-07-17 19:19:13
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
58同城Android客户端Walle框架演进与实践之路 立即下载
Android组件化实现 立即下载
蚂蚁聚宝Android秒级编译——Freeline 立即下载

相关实验场景

更多

相关镜像