首页 > 其他 > 详细

STF日志提示 Not found ; no service started

时间:2021-08-05 15:58:17      阅读:17      评论:0      收藏:0      [点我收藏+]

现象:华硕手机无法被识别,插上以后,后台提示“Setup had an error: Error: Not found ; no service started”,“Shutting down due to fatal error”。

日志报错:

2021-08-05T03:18:20.757Z FTL/device 5498 [K1AXGF01376762H] Setup had an error Error: Service had an error: "Error: Not found; no service started."

2021-08-05T03:18:20.759Z FTL/util:lifecycle 5498 [K1AXGF01376762H] Shutting down due to fatal error

2021-08-05T03:18:20.773Z ERR/provider 4807 [*] Device worker "K1AXGF01376762H" died with code 1

原因:手机不允许在初次安装的时候直接启动service,需要“激活”activity,才能“注册”上service。

解决:

%cd stf/

%adb install -r vendor/STFService/STFService.apk

Performing Streamed Install

Success

%adb shell pm list packages

#搜索stf,发现STFService.apk包名:

package:jp.co.cyberagent.stf

 

%adb uninstall jp.co.cyberagent.stf
%adb install -r vendor/STFService/STFService.apk
%adb shell am start -n jp.co.cyberagent.stf/.IdentityActivity
%adb shell am startservice  -n jp.co.cyberagent.stf/.Service

STF日志提示 Not found ; no service started

原文:https://www.cnblogs.com/Tanwheey/p/15102548.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!