paulo-raca / adb-proxy

Proxy to access android devices attached to a remote machine via ADB
61 stars 12 forks source link

can this software be used on windows #6

Closed Green10026 closed 1 year ago

paulo-raca commented 1 year ago

I believe so.

I haven't tested it, but I don't anticipate any reason why it wouldn't work.

Please give it a try and let me know. I will look into it you run into any issues

Green10026 commented 1 year ago

I have tried to compile it but i run into issues on windows as sys/socket.h is for linux only, can you please work a fix around this ?

paulo-raca commented 1 year ago

Can you send me build log?

paulo-raca commented 1 year ago

I managed to install it on Windows without any issues.

The only tricky part is setting up Visual Studio Build Tools, necessary for netifaces, required for upnp support:

building 'netifaces' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

I managed to compile it successfully by downloading vs_buildtools.exe from that link and running it with this command:

vs_buildtools.exe --norestart --passive --downloadThenInstall --includeRecommended --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.MSBuildTools

Credits to Ice Bear on StackOverflow

paulo-raca commented 1 year ago

However I'll update the library so that UPNP and AWS support are optional -- These gave me headaches before

Green10026 commented 1 year ago

thanks a lot for your support, it is very much appreciated