gtf35 / app_process-shell-use

利用 app_process 实现免root调用shell
MIT License
448 stars 170 forks source link

与service进行socket通讯发生错误 #1

Closed jk08039527 closed 5 years ago

jk08039527 commented 5 years ago

failed to connect to /127.0.0.1 (port 4521) after 3000ms: isConnected failed: ECONNREFUSED (Connection refused)

gtf35 commented 5 years ago

请检查您的service是不是成功运行了,在pc上运行dex之后数据线可拔,但usb调试不能关

gcfchn commented 3 years ago

是不是把usb拔掉出现的,我这也是,估计是usb拔掉后服务就结束运行了,可以用nohup命令实现断开usb后服务继续运行,如下 nohup app_process -Djava.class.path=/data/local/tmp/classes.dex /system/bin shellService.Main