Giter VIP home page Giter VIP logo

Comments (3)

xiaocong avatar xiaocong commented on August 20, 2024

Thanks for your log, although I could not find any useful clue for the issue. I need your help to do below steps:

  1. Download the latest jar files from https://github.com/xiaocong/android-uiautomator-jsonrpcserver/releases

  2. adb push the two jars to /data/local/tmp

  3. Run below two commands to start the server:

    $ adb forward tcp:9008 tcp:9008 
    $ adb shell uiautomator runtest  uiautomator-stub.jar bundle.jar -c com.github.uiautomatorstub.Stub
    
  4. If successful, start a python REPL, and input below code:

    from uiautomator import device as d
    print d.server.local_port
    d.server.local_port = 9008
    d.server.alive
    

Before doing that, make sure uiautomator upgraded to the latest version:

pip install -U uiautomator

from uiautomator.

tpeandrew avatar tpeandrew commented on August 20, 2024

Hi
I just update uiautomator to the latest version and it works~
Thanks~

from uiautomator.

xiaocong avatar xiaocong commented on August 20, 2024

Good. Please submit new one if you meet other issues.

from uiautomator.

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.