Code Monkey home page Code Monkey logo

Comments (13)

oaktester avatar oaktester commented on May 3, 2024 2

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.

adolli avatar adolli commented on May 3, 2024 1

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.

adolli avatar adolli commented on May 3, 2024 1

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.

oaktester avatar oaktester commented on May 3, 2024

Hi @adolli ,I have followed your tips to chmod the adb.py. but it does not work. Hope for ur next tips.

image

image

from airtest.

adolli avatar adolli commented on May 3, 2024

Just this file /home/qatest/.local/lib/python2.7/site-packages/airtest/airtest/core/android/static/adb/linux/adb, not adb.py.

from airtest.

oaktester avatar oaktester commented on May 3, 2024

@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:
image

from airtest.

adolli avatar adolli commented on May 3, 2024

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.

oaktester avatar oaktester commented on May 3, 2024

qatest@ubuntu:~/work$ adb version
Android Debug Bridge version 1.0.32

from airtest.

oaktester avatar oaktester commented on May 3, 2024

Thanks sincerely,Permission Denied Error has been fixed.
The second path you gave is right.
^___________^

from airtest.

adolli avatar adolli commented on May 3, 2024

So is there still be a "device not ready" exception?

from airtest.

oaktester avatar oaktester commented on May 3, 2024

Yes~
image

from airtest.

adolli avatar adolli commented on May 3, 2024

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.

oaktester avatar oaktester commented on May 3, 2024

let me have a try,thanks

from airtest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.