RikkaApps / Shizuku

Using system APIs directly with adb/root privileges from normal apps through a Java process started with app_process.
Apache License 2.0
11.33k stars 652 forks source link

三星 S9 已启动的服务会自动关闭 #36

Closed AlynxZhou closed 5 years ago

AlynxZhou commented 5 years ago

谷歌搜了一下没找到答案,我用的是 Android Pie,三星默认连接电脑是 MTP 模式,直接输入命令可以开启,但大概过两天两夜再打开就是没有运行,手机没重启,app 是 Play 上的最新版本。

RikkaW commented 5 years ago

然而并没有好办法(

AlynxZhou commented 5 years ago

不要用USB ADB,先改成tcpip模式再启动脚本就会好很多,然后尽量不要用USB线连电脑,每次连电脑就关了

On Mon, Jun 10, 2019, 22:30 Rikka notifications@github.com wrote:

然而并没有好办法(

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RikkaApps/Shizuku/issues/36?email_source=notifications&email_token=ACANVR3J4IGB3NVIKCMTQILPZZQPRA5CNFSM4HK2DUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKBHFQ#issuecomment-500437910, or mute the thread https://github.com/notifications/unsubscribe-auth/ACANVR2RIGSNVZT4J7GHC6TPZZQPRANCNFSM4HK2DUOQ .

AlynxZhou commented 5 years ago

既然没啥好办法我先关了,反正要是有人有这个问题就tcpip连adb启动吧……

I-Mortals commented 2 years ago

Thanks♪(・ω・)ノ感谢,如果不是看到你的方法我想我已经放弃了。 然而我通过tcpip成功了,之前USB ADB一断开USB就停止。终于解决了。