Paving-Base / APK-Installer

An Android Application Installer for Windows
https://paving-base.github.io/APK-Installer/
GNU General Public License v3.0
1.49k stars 147 forks source link

Cant startup when specified adb server port #323

Open yuameshi opened 1 year ago

yuameshi commented 1 year ago

Describe the bug

throwing ECONNREFUSE for 127.0.0.1:5037, but my adb port has set to some other ports

Steps to reproduce the bug

  1. Set env var ANDROID_ADB_SERVER_PORT to any number
  2. Kill ADB server
  3. boot APK Installer

Expected behavior

Boot the installer and install app

Screenshots

No response

App version

0.1.25

Windows version

Insider Build (xxxxx)

Android device

Windows Subsystem for Android™

Additional context

No response

yuameshi commented 1 year ago

不理我吗,这玩意应该不难吧(

wherewhere commented 1 year ago

懒。。。

yuameshi commented 1 year ago

呃呃呃,教我CS如何读取环境变量 连接adb的地方,我试试改(

wherewhere commented 1 year ago

要改的的地方特别多,所有AdbClient都要自定义端口,我用的时候基本都是随手new一个,现在成屎山了。。。

wherewhere commented 1 year ago

算了,我直接在轮子里面改了。。。 你可以去 AdvancedSharpAdbClient 提一个 issue

yuameshi commented 1 year ago

呃呃,那算了

yuameshi commented 1 year ago

你加油

wherewhere commented 1 year ago

。。。

wherewhere commented 1 year ago

我已经改好了,但是改好了我也不打算更新,更新一次太累了,Crowdin一群乱翻译的,我要更新就要去检查一次翻译,烦死了。。。

yuameshi commented 1 year ago

加油