Unable to connect to adb. Check if adb is installed correctly解决方法

解决方案:

1、打开  "E:\android-sdk_r24.4.1-windows\android-sdk-windows\tools"中的uiautomatorviewer.bat文件

2、找到 uiautomatorviewer.bat 文件最后一行

把将其中的binddir=%prog_dir%修改为 SDK 的 platform-tools所在路径(我的 SDK 路径为:E:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools)。

3、修改后的最后一行为:

4、再次启动工具  UI Automator Viewer,就可以正常运行。

原文地址:https://www.cnblogs.com/peng-lan/p/11274500.html

时间: 2024-08-05 15:03:27

Unable to connect to adb. Check if adb is installed correctly解决方法的相关文章

Tortoise-SVN 出现“unable to connect to a repository at url no element found”解决办法

安装要SVN server服务器后,建立自己的Repositories,创建自己的项目文件夹 如,https://xxxxxxxxxx.com:8443/ 安装Tortoise-svn进行设置目标链接时,出现问题unable to connect to a repository at url no element found 解决办法: 最后加上svn就ok了

[Android]ADB Server didn't ACK错误的解决方法

Eclipse中调试的时候报错 [2014-06-18 13:07:49 - DinnerBooker] The connection to adb is down, and a severe error has occured.[2014-06-18 13:07:49 - DinnerBooker] You must restart adb and Eclipse.[2014-06-18 13:07:49 - DinnerBooker] Please ensure that adb is co

adb devices 找不到设备的解决方法,亲测,超管用

1.设备第一次连接电脑,执行adb命令,出现以下内容 2.解决方法:将手机的VID添加到C:\Users\admin\.android目录下的adb_usb.ini文件里 设备的VID在计算机右键属性->管理->设备管理器,如图 3.如果没有adb_usb.ini文件,自己可以新建一个,设备的VID前面要加0x adb_usb.ini文件格式如:0x22da0x119a 4.在黑窗口中输入 adb kill-server adb start-server adb devices 5.然后就能找

mysql数据库出现2003-Can't connect to MySQL server on 'localhost' (10061)的解决方法

1.右键点击我的电脑,找到管理! 2.找到服务和应用程序: 3.打开找到服务,打开: 4.在服务里找到MySQL,改成启动: mysql数据库出现2003-Can't connect to MySQL server on 'localhost' (10061)的解决方法

安卓控件获取器uiautomatorviewer初体验:"unable to connect to the adb. check if adb is installed correctly"

解决方法:转自:https://plus.google.com/108487870030743970488/posts/2TrMqs1ZGQv Challenge Accepted:1. ScreenshotAction class has this in its run() method when !DebugBridge.isInitialized() 2. DebugBridge is not initialized when it can't find the "platform-too

adb devices 找不到设备的解决方法

1. 查找到设备的vender ID Windows的方法:待补充 Mac OS: 命令行下输入:system_profiler SPUSBDataType 我的Nexus 7,有如下输出: Nexus 7: Product ID: 0x4ee2 Vendor ID: 0x18d1 (Google Inc.) Version: 2.28 Serial Number: 08bb6ada Speed: Up to 480 Mb/sec Manufacturer: asus Location ID:

adb "more than one device and emulator" 解决方法

首先使用adb devices查看所有的设备,然后在adb 后面添加"-s 设备名"来使用adb命令,如: adb -s MSM8125QE988 install xxx.apk

could not connect to the debugger --Visual Studio Emulator报错解决方法

在Android项目上右击选择属性--Android选项: 把使用快速部署(仅调试模式)勾选取消掉: 之后打开hyper-V管理器,选择自己的那个虚拟机右击设置--处理器--兼容性--勾选迁移到具有不同处理器版本的物理计算机:(如果灰色无法勾选,先关掉你的emulator模拟器)==应用: 再次重启emulator即可:

Hue - Oozie Editor: Retrying connect to server: localhost/127.0.0.1:8050 的错误解决方法

本文原文出处: 严禁任何形式的转载,否则将委托CSDN官方维护权益! 问题描述 在当前版本的HUE(2.6.1-2)里,oozie editor存在一个糟糕的BUG: 用户无法在workflow的配置中指定${jobTracker}和${nameNode}的值,尽管我尝试了所有可以尝试的地方,但是当通过hue去submit(不是通过oozie的命令行)一个workflow时,${jobTracker}和${nameNode}的值都被无情的重置了!如果这两个属性的值刚好是正确的,那么自然相安无事,