Service starting has been prevented by iaware or trustsbase sInfo ServiceInfo 解决方法
问题:
ActivityManager: Service starting has been prevented by iaware or trustsbase sInfo ServiceInfo{c50ea35 xxx.xxx.xxx.ServiceName}
问题描述,该问题再华为部分手机升级到Android 10.1之后,启动服务会遇到该问题。
解决方法:
启动的时候加个延时就可
new Handler().postDelayed(new Runnable() {@Overridepublic void run() {Intent intent = new Intent(getContext() ,ServiceName.class);if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {startForegroundService(intent);} else {startService(intent);}}
},1000);
所遇机型:
华为 荣耀V20 ;华为M 30;华为M6 ........
都是在升级10.1之后遇到的。其他机型正常启动都正常。
Service starting has been prevented by iaware or trustsbase sInfo ServiceInfo 解决方法相关推荐
- Android 华为手机10.1 启动service Service starting has been prevented by iaware or trustsbase **
在Application 里启动一个service 保持与服务器的长连接,但是在华为10.1 系统上启动异常: Service starting has been prevented by iawar ...
- 电脑显示服务器未能登陆 无法加载用户配置,win7系统提示User Profile Service服务未能登录,无法加载用户配置文件的解决方法...
很多小伙伴都遇到过win7系统提示User Profile Service服务未能登录,无法加载用户配置文件的困惑吧,一些朋友看过网上零散的win7系统提示User Profile Service服务 ...
- The server encountered an internal error that prevented it from fulfilling this request 的解决方法
在多次实验发现这个报错,我认为作为小白,最容易报错的可能是 空指针异常(NullPointerException )
- See system logs and 'systemctl status xxx.service' for details.错误的解决方法
启动apache服务出现Job failed. See system logs and 'systemctl status' for details. 2012-02-23 22:00 [root@l ...
- 计算机没有用户配置文件,win7提示User Profile Service服务未能登录,无法加载用户配置文件如何解决...
最近有用户在启动Windows7系统的时候欢迎界面出现"User Profile Service服务未能登录,无法加载用户配置文件"的提示,怎么都没办法进入到桌面,那么如何解决呢? ...
- User profile synchronization service starting issues 用户配置文件同步服务启动问题
User profile synchronization service starting issues 用户配置文件同步服务启动问题 这里,尽管我删除并重建了user profile service ...
- vsftpd.service; disabled; vendor preset: disabled解决方法
[现象] [root@instance-6es4pt95 init.d]# systemctl status vsftpd ● vsftpd.service - Vsftpd ftp daemon L ...
- WCF Data Service 的.NET Client 的不支持原生类型服务操作的解决方法
WCF Data Service 的.NET Client 的不支持返回值为原生类型(string,int)的服务操作调用,例如我们用如下服务操作: [WebGet] public ObjectQu ...
- 【转】Service Intent must be explicit的解决方法
[转]Service Intent must be explicit的解决方法 参考文章: (1)[转]Service Intent must be explicit的解决方法 (2)https:// ...
最新文章
- 浏览器ERR_PROXY_CONNECTION_FAILED解决方法
- 窗体内元素遍历-通用方法(DevExpress 中BarManager的遍历)
- Chrome 正在测试标签页的预览功能
- 8 Great Java 8 Features No One's Talking about--转载
- Scala特质可以继承Java类及限制特质的使用
- html 三级目录索引,墨涩网 - HTTP Web服务器索引目录列表程序Directory Lister——墨涩网...
- 剑指offer之31-35题解
- Html、Css-----当有文字和图片的时候,需要文字和图片居中,怎么实现?不想文字换行怎么设置...
- JavaOne 2012:JavaOne技术主题演讲
- Python3 基础学习笔记 C03【操作列表】
- 被百度AI官方认证的大学,到底是什么水平
- squid的简单介绍
- uboot之fastboot烧录镜像
- 后端基础概念:各种OCV一网打尽(上篇)
- SQL中char、varchar、nvarchar的区别
- 查询同一组的最大最小值及明细
- spring加载属性(properties)文件
- php excel数据导出
- linux2.6.34编译安装,busybox linux-2.6.2 编译安装中碰到的若干问题
- word转PDF(使用liberOffice插件)