首页 > 其他分享 >App自动化测试|adb版本过低的报错提示

App自动化测试|adb版本过低的报错提示

时间:2023-02-02 16:35:15浏览次数:58  
标签:unknown App version adb 版本 error 报错 your

adb版本过低的报错

An unknown server-side error occurred while processing the command. Original error: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to forward ports to device 127.0.0.1:62001. No port chosen: . Perhaps your adb version is out of date. ChromeDriver 2.39 and newer require adb version 1.0.38 or newer. Run ‘adb version’ in your terminal of the host device to find your version of adb.

1、首先去DOS窗口中查看adb 版本号

命令:adb version;

2、adb是没有自动升级的命令的,如果想要更新adb的版本,我们可以在网上找到自己想要的版本进行更新;

下载网盘中想要的ADB版本:

链接:​​https://pan.baidu.com/s/1MpBUp2wVdkH2RTMa5wOL8g​​ 提取码:1w0t

3、假如你下载的是1.0.40的adb压缩包,把它解压后可以找到下面几个文件,并复制

App自动化测试|adb版本过低的报错提示_版本号

4、找到adb安装的文件夹下的platform-tools文件夹,我这里是安装到了E盘

App自动化测试|adb版本过低的报错提示_ide_02

5、把刚才复制过的文件复制到\platform-tools文件夹里,替换里面对应的文件就行了

App自动化测试|adb版本过低的报错提示_版本号_03

6、再次打开DOS窗口,输入命令:adb version 查看adb版本号

App自动化测试|adb版本过低的报错提示_ide_04


标签:unknown,App,version,adb,版本,error,报错,your
From: https://blog.51cto.com/u_15640304/6033722

相关文章