JavaShuo
栏目
标签
解决Android8.0以后开启service时报错IllegalStateException: Not allowed to start service Intent ......
时间 2020-07-05
标签
解决
android8.0
android
以后
开启
service
报错
illegalstateexception
allowed
start
intent
栏目
Android
繁體版
原文
原文链接
项目测试时发现的,在双击返回键关闭应用后(并未杀死后台)从新打开APP,其余手机都OK,可是8.0的手机会出现较频繁的crash。检查代码,问题锁定在从新开启应用时的startService()上。java 查找资料说是Android 8.0 再也不容许后台service直接经过startService方式去启动,不然就会引发IllegalStateException。而网上给出的解决方式大可能是
>>阅读原文<<
相关文章
1.
解决Android8.0以后开启service
2.
Android 8.0 启动Service适配(Not allowed to start service Intent)
3.
android 8.0 服务启动报错Fatal Exception: java.lang.IllegalStateException Not allowed to start service Inte
4.
Not allowed to bind to service Intent 解决办法
5.
Service visualSVN http service failed to start。(svn服务端windows 安装报错解决方案)
6.
Reporting Service 服务启动时报错The service did not respond to the start or control request in a timely fas...
7.
nexus 启动报错 The nexus service was launched, but failed to start
8.
PrintingTools启动失败,报错:Service failed to start Utilities.PrintingTools.GPServer: null
9.
处理 Android 8.0 及以上手机 Not allowed to start service Intent app is in background 的问题
10.
Service ‘MongoDB Server’ failed to start 问题解决
更多相关文章...
•
Web Service 实例
-
Web Services 教程
•
SVN 解决冲突
-
SVN 教程
•
Scala 中文乱码解决
•
PHP开发工具
相关标签/搜索
service
mediaplayer+service
notification+service
service+notification
1920.service
action+service
Service Worker
web service
service+alarmmanager
client&service
Android
Spring教程
Redis教程
Docker教程
后端
开发工具
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
No provider available from registry 127.0.0.1:2181 for service com.ddbuy.ser 解决方法
2.
Qt5.7以上调用虚拟键盘(支持中文),以及源码修改(可拖动,水平缩放)
3.
软件测试面试- 购物车功能测试用例设计
4.
ElasticSearch(概念篇):你知道的, 为了搜索…
5.
redux理解
6.
gitee创建第一个项目
7.
支持向量机之硬间隔(一步步推导,通俗易懂)
8.
Mysql 异步复制延迟的原因及解决方案
9.
如何在运行SEPM配置向导时将不可认的复杂数据库密码改为简单密码
10.
windows系统下tftp服务器使用
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
解决Android8.0以后开启service
2.
Android 8.0 启动Service适配(Not allowed to start service Intent)
3.
android 8.0 服务启动报错Fatal Exception: java.lang.IllegalStateException Not allowed to start service Inte
4.
Not allowed to bind to service Intent 解决办法
5.
Service visualSVN http service failed to start。(svn服务端windows 安装报错解决方案)
6.
Reporting Service 服务启动时报错The service did not respond to the start or control request in a timely fas...
7.
nexus 启动报错 The nexus service was launched, but failed to start
8.
PrintingTools启动失败,报错:Service failed to start Utilities.PrintingTools.GPServer: null
9.
处理 Android 8.0 及以上手机 Not allowed to start service Intent app is in background 的问题
10.
Service ‘MongoDB Server’ failed to start 问题解决
>>更多相关文章<<