博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android Studio 升级2.3以后无法启动App的解决方案
阅读量:3779 次
发布时间:2019-05-22

本文共 448 字,大约阅读时间需要 1 分钟。

今天升级了2.3版本,发现点击run之后应用无法自动启动,并有这样的报错:

Error while executing: am startservice com.example.codingmaster.testcc/com.android.tools.fd.runtime.InstantRunService Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.codingmaster.testcc/com.android.tools.fd.runtime.InstantRunService } Error: Not found; no service started.

我的手机是一加3,AndroidN

搜索了一波,结论是现在需要在手机中提供自应用自启动的权限,在设置中允许应用自启动后点击run就可以跑起来了。

转载地址:http://obpvn.baihongyu.com/

你可能感兴趣的文章
消息队列积压问题处理
查看>>
并行流使用注意事项
查看>>
泛型擦除机制及相关问题
查看>>
Jackson日期反序列化时区问题
查看>>
《设计模式》
查看>>
单例设计模式
查看>>
面试题集锦(一)
查看>>
Calendar类方法——编写万年历的两种方式
查看>>
File类的使用——遍历所有文件及子文件以及遍历删除
查看>>
内存流的使用——基本使用
查看>>
RandomAccessFile 类的使用——基本使用
查看>>
Properties实现类——基本使用
查看>>
结构型模式——装饰者设计模式
查看>>
线程的同步——Synchronized和ReentrantLock
查看>>
网络编程基础
查看>>
python实现快速排序
查看>>
python实现归并排序
查看>>
ptqt5控件了解(三)
查看>>
自学C++(一)
查看>>
51单片机介绍(二)
查看>>