自己踩过的坑,不记下来就会忘掉,忘了就会不断的重复踩坑!!

重来在一台电脑上搭建了python的环境,在运行的时候,提示找不到adb.exe,看到这个问题我在想是不是我的环境变量配置有问题,我就去改了环境变量的问题,发现还是提示这个问题;接下来就是,各种百度怎么找出来的没有和我一样的问题呢?更改搜索方式python +appium运行,出现找不到adb.exe,果然找到了!这个问题的答案特别熟悉啊!-----原来是 我的模拟器没有开启开发者选项!

python+appium运行提示找不到adb.exe “An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in ["D:\\adt\\sdk;\\platform-tools\\adb.exe"”

模拟器开启开发者选项的操作如下:

设置 -> 我的平板电脑 ->版本号 ->点击5次后,会提示开启开发者模式 ->开启开发者模式后,点击开发者模式 ->启用 usb调试

(进行以上操作还有此问题的,要去检查android_home的变量:%ANDROID_HOME%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools;%ANDROID_HOME%\build-tools;)

python+appium运行提示找不到adb.exe “An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in ["D:\\adt\\sdk;\\platform-tools\\adb.exe"”

 

相关文章:

  • 2021-09-30
  • 2021-08-04
  • 2021-07-06
  • 2022-12-23
  • 2021-12-24
  • 2021-10-30
  • 2021-06-07
  • 2022-12-23
猜你喜欢
  • 2021-11-02
  • 2021-10-23
  • 2022-12-23
  • 2021-08-31
  • 2022-02-16
  • 2022-12-23
  • 2021-05-29
相关资源
相似解决方案