android studio 2.3使用问题 Error: Not found; no service started

报错:Error: Not found; no service started.

问题描述:之前使用android2.2.x时,使用乐视1s进行代码调试OK,当as升级到2.3以后,调试运行时发现不能将程序运行起来了,直接报错为:

.InstantRunService
Starting service: Intent 
{ act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] 
cmp=com.xxx.xxx.constrain/com.android.tools.fd.runtime.InstantRunService }
Error: Not found; no service started.

在国内网站翻了一会没有找到靠谱的答案,就去了google,找到了许多,经过尝试以后发现,在as升级到2.3以后,需要为调试app在手机中设置自启动的权限。经过设置后完美解决了这个问题。

乐视手机:

打开设置界面->隐私授权->您已经允许n款应用自启->(找到你的那款app,设置允许自启动就好啦)

google question

https://code.google.com/p/android/issues/detail?id=235879
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值