Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务启动失败 #3573

Open
fanyy0418 opened this issue Sep 19, 2024 · 0 comments
Open

服务启动失败 #3573

fanyy0418 opened this issue Sep 19, 2024 · 0 comments

Comments

@fanyy0418
Copy link

在提出问题前请先自行排除服务器端问题,同时也请通过搜索确认是否有人提出过相同问题。
已排除服务器端问题。另一台设备正常。有,但并未成功解决我的问题。

预期行为

描述你认为应该发生什么
服务启动成功

实际行为

描述实际发生了什么
提示服务启动中-服务启动失败

复现方法

1.点击主界面启动服务按钮
2.报错
3.

日志信息

通过adb logcat -s com.v2ray.ang GoLog V2rayConfigUtilGoLog Main获取日志。请自行删减日志中可能出现的敏感信息。

如果问题可重现,建议先执行adb logcat -c清空系统日志再执行上述命令,再操作重现问题。

在这里粘贴日志
--------- beginning of crash
09-19 22:57:39.811 E/AndroidRuntime(25027): FATAL EXCEPTION: main
09-19 22:57:39.811 E/AndroidRuntime(25027): Process: com.v2ray.ang:RunSoLibV2RayDaemon, PID: 25027
09-19 22:57:39.811 E/AndroidRuntime(25027): android.app.ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{b170258 u0 com.v2ray.ang/.service.V2RayVpnService}
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2596)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at android.app.ActivityThread.access$4000(ActivityThread.java:313)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3025)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at android.os.Handler.dispatchMessage(Handler.java:117)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at android.os.Looper.loopOnce(Looper.java:205)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at android.os.Looper.loop(Looper.java:293)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at android.app.ActivityThread.loopProcess(ActivityThread.java:9998)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at android.app.ActivityThread.main(ActivityThread.java:9987)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at java.lang.reflect.Method.invoke(Native Method)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:586)
09-19 22:57:39.811 E/AndroidRuntime(25027): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1240)

环境信息

华为mate60

额外信息(可选)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant