dtmilano / CulebraTester2-public

CulebraTester: Snaky Android Testing
Apache License 2.0
139 stars 29 forks source link

Does it works on windows os? #3

Closed stefan-mladenovic closed 3 years ago

stefan-mladenovic commented 3 years ago

When I try to run server, I get this error:

'android-select-device' is missing.

or I'm doing something wrong?

dtmilano commented 3 years ago

Can you copy the command you are running and the full error. Are you using Git Bash?

stefan-mladenovic commented 3 years ago

Yes I am using git bash. This is full error bash <(curl -sL https://git.io/JT5nc) start-server which: invalid option -- s which: no android-select-device in (/c/Users/Stefan/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/Stefan/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSH:/c/Users/Stefan/AppData/Local/Programs/Python/Python37:/c/Program Files/dotnet:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/c/Program Files/nodejs:/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn:/c/CUDA/bin64:/c/Program Files (x86)/Microsoft SQL Server/150/DTS/Binn:/c/Program Files/PuTTY:/cmd:/c/Program Files (x86)/IVI Foundation/VISA/WinNT/Bin:/c/Program Files/IVI Foundation/VISA/Win64/Bin:/c/Program Files (x86)/IVI Foundation/VISA/WinNT/Bin:/c/Program Files/MySQL/MySQL Shell 8.0/bin:/c/Users/Stefan/AppData/Local/Programs/Python/Python37/Scripts:/c/Users/Stefan/AppData/Roaming/npm:/c/Hadoop/bin:/c/Program Files/Java/jdk1.8.0_251/bin:/c/Users/Stefan/AppData/Local/Programs/Microsoft VS Code/bin:/bin:/cmd:/usr/bin/vendor_perl:/usr/bin/core_perl) ⛔️ ERROR: Missing "android-select-device". Install from https://gist.github.com/dtmilano/4537110

dtmilano commented 3 years ago

Unfortunatelly which on windows does not support -s (I'm fixing it). Then, as the error mentions, you have to install android-select-device. Use a directory already in PATH, like ~/bin.

On Mon, Dec 28, 2020 at 2:07 PM stefan-mladenovic notifications@github.com wrote:

bash <(curl -sL https://git.io/JT5nc) start-server which: invalid option -- s which: no android-select-device in (/c/Users/Stefan/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/Stefan/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSH:/c/Users/Stefan/AppData/Local/Programs/Python/Python37:/c/Program Files/dotnet:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/c/Program Files/nodejs:/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn:/c/CUDA/bin64:/c/Program Files (x86)/Microsoft SQL Server/150/DTS/Binn:/c/Program Files/PuTTY:/cmd:/c/Program Files (x86)/IVI Foundation/VISA/WinNT/Bin:/c/Program Files/IVI Foundation/VISA/Win64/Bin:/c/Program Files (x86)/IVI Foundation/VISA/WinNT/Bin:/c/Program Files/MySQL/MySQL Shell 8.0/bin:/c/Users/Stefan/AppData/Local/Programs/Python/Python37/Scripts:/c/Users/Stefan/AppData/Roaming/npm:/c/Hadoop/bin:/c/Program Files/Java/jdk1.8.0_251/bin:/c/Users/Stefan/AppData/Local/Programs/Microsoft VS Code/bin:/bin:/cmd:/usr/bin/vendor_perl:/usr/bin/core_perl) ⛔️ ERROR: Missing "android-select-device". Install from https://gist.github.com/dtmilano/4537110

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dtmilano/CulebraTester2-public/issues/3#issuecomment-751878904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHP3URG57K326LXDX3OMPTSXD6RLANCNFSM4VMJNPRQ .

-- Have you read my blog ? http://dtmilano.blogspot.com android junit tests ui linux cult thin clients