AS 2.3启动APP报错Not found; no service started
2017-05-19 10:24
417 查看
最近发现升级android studio 2.3 之后,运行APP的时候有些手机会报报错 Not found; no service started. APP不自动启动要手动去启动,感觉每次调试都很麻烦,尤其刚开始运行App时半天不见反应,耽搁好久。具体报错信息如下:
解决方法
前往 File -> Settings ->Build,Exceution,Deployment -> InstantRun 把Enable Instant Run ···· 的勾去掉就行了
Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=xxx.xxxxxxx.xxxx.xxxxxxx/com.android.tools.fd.runtime.InstantRunService } Error: Not found; no service started.
解决方法
方案一(推荐方法):
只要在手机权限设置找到你的那款app,设置允许自启动就好啦方案二:
大部分的做法是直接关闭InstantRun这个功能,但是不推荐这种做法,这样会导致每次调试都会重新安装APK。前往 File -> Settings ->Build,Exceution,Deployment -> InstantRun 把Enable Instant Run ···· 的勾去掉就行了
相关文章推荐
- android studio 2.3使用问题 Error: Not found; no service started
- Error: Not found; no service started.问题解决 | android studio调试能安装应用成功但无法启动
- Error: Not found; no service started.问题解决
- STFService.apk在手机上提示 Not found ; no service started
- 报错 Error: Not found; no service started.
- eclipse启动错误 Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
- Oracle启动监听报错:The listener supports no services解决
- android4.0如何实现开机自动启动Service或app .
- android如何实现开机自动启动Service或app
- tomcat启动报错:Invalid property 'userService' of bean class [xxxx]: No property 'xxx' found
- Oracle启动监听报错:The listener supports no services解决
- Can the Domino server controller be started as a Windows service?
- The service cannot be started, either because it is disabled or because it has no enabled deices ass
- Nexus启动失败The nexus-webapp service was launched, but failed to start.
- android如何实现开机自动启动Service或app
- 【转】android如何实现开机自动启动Service或app
- android如何实现开机自动启动Service或app
- nexus资源库在安装完毕,启动时有时会出现:The nexus-webapp service was launched, but failed to start."错误
- android如何实现开机自动启动Service或app
- android如何实现开机自动启动Service或app