dtmilano / AndroidViewClient

Android ViewServer and ADB client
Apache License 2.0
1.61k stars 344 forks source link

[Please help] Can't get it to work on windows 10 with python 3 #274

Closed Pawloland closed 4 years ago

Pawloland commented 4 years ago

The release v20.0.0.b3 is supposed to be working wit python 3.6+. I have python 3.8.0 installed. What I have set up:

At first I thought the setup would be as simple as typing pip install androidviewclient in cmd. I realized that using this command, version 15.8.1 (incompatible with python 3) is downloaded. Then I run pip uninstall androidviewclient and pip install androidviewclient==20.0.0b3 to install version which supports python 3.

Here is the problem: The guide on github is made based on Linux system, not windows. What I have understood, AndroidViewClient is made out of couple of parts, mainly culebra and dump. If I understood correctly, they work just like any other command in Linux for example, ls, cp or mv, they have their own arguments and options.

Is it supposed to be like that on windows?

What I am trying to achieve with AndroidViewClient is to add an option to my program, which will open specified app and then click button, on every device connected, just like in this video: https://www.youtube.com/watch?v=yKnpdlospL4 (but if it is possible, make it run much faster), or only on selected ADB device or devices.

Thank in advanced.

dtmilano commented 4 years ago

This may help you: https://darpan.blog/code/setup-androidviewclient-windows/

It is for python 2.7 but the main concept would apply.

Pawloland commented 4 years ago

I managed to make culebra and dump work on windows 10 with python 3.8.0. What I did was:

I am not sure though if it is desired setup path to be followed and thus, there are my new questions: