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.
resiprocate 之repro使用
2.
Ubuntu配置Github並且新建倉庫push代碼,從已有倉庫clone代碼,並且push
3.
設計模式9——模板方法模式
4.
avue crud form組件的快速配置使用方法詳細講解
5.
python基礎B
6.
從零開始···將工程上傳到github
7.
Eclipse插件篇
8.
Oracle網絡服務 獨立監聽的配置
9.
php7 fmp模式
10.
第5章 Linux文件及目錄管理命令基礎
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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 問題解決
>>更多相關文章<<