Comments (13)
Problem fixed. adb 's version 1.0.32 is not suitable . upgrade it to 1.0.39 .
this link for reference
https://androideputies.com/2016/12/11/linux-update-adb-fastboot-to-the-latest-version/
thank you @adolli
from airtest.
hi @oaktester, please grant executable permission for the following file manually. This is a bug in the setup script currently.
chmod a+x /home/qatest/.local/lib/python2.7/site-packages/airtest/airtest/core/android/static/adb/linux/adb
from airtest.
please check the adb executable file again at this location /home/qatest/.local/lib/python2.7/site-packages/airtest/core/android/static/adb/linux/adb
. Maybe I gave l wrong path previously.
from airtest.
Hi @adolli ,I have followed your tips to chmod the adb.py. but it does not work. Hope for ur next tips.
from airtest.
Just this file /home/qatest/.local/lib/python2.7/site-packages/airtest/airtest/core/android/static/adb/linux/adb
, not adb.py.
from airtest.
@adolli Thank you so much. And I found that there is no ..../linux/adb file,but adb.py. Therefore,I think something must be wrong when I install airtest through "sudo pip install airtest". then i install airtest again by "git clone https://github.com/AirtestProject/Airtest.git" and "python setup.py install"
After that Permission denied Error is gone. But another problem occur:
from airtest.
What is the adb version
in your Ubuntu system? As airtest requires adb 1.0.39
. I am not sure why your adb installation failed.
from airtest.
qatest@ubuntu:~/work$ adb version
Android Debug Bridge version 1.0.32
from airtest.
Thanks sincerely,Permission Denied Error has been fixed.
The second path you gave is right.
^___________^
from airtest.
So is there still be a "device not ready" exception?
from airtest.
from airtest.
I think this is because there are two different adb versions. They may compete with each other. Can u upgrade your system adb to 1.0.39
or just simply uninstall it?
from airtest.
let me have a try,thanks
from airtest.
Related Issues (20)
- 开启IDE情况下,命令行执行时获取的adb进程路径有时候空的 HOT 1
- 连接鸿蒙设备
- android 设备 跑完用例时 断开设备卡住了 HOT 1
- VIVO手机截屏错误,屏幕翻转错误
- 执行完double_click()之后在报告里没有那个点击后的红圈显示
- 运行脚本启动Chrome闪退,Chrome 121.0.6167.140
- 在安卓真机上执行 keyevent( "volumeUp" ) 或 keyevent( "volumeDown" ) 无效
- airtest是否引用了psutil
- 建议移除psutil
- airtest link will automatically disconnect after working for a period of time. How to solve this problem HOT 1
- 安装完最新的appium的wda,airtest无法连接IOS HOT 1
- poco服务启动慢 HOT 2
- 如果想利用AI 配合 airtest框架实现 自动编写UI测试用例 请教下有思路吗?
- poco,text获取元素失败 HOT 2
- iOS 使用start_app报错
- airtest自动安装的urllib3库, 需要旧版 (比如1.26.17) 才能通过uid连接ios手机
- airtest ios连接的api: connect_device无法连接多台ios HOT 4
- window7 airtest 脚本编辑器窗黑屏
- 请问如何开启cuda加速
- [功能增强,不是bug] 关于支持app内webview的操作和录制
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airtest.