Unable to start activity异常的解决方案

当时我正在测试一个用户身份验证组件。使用的是android内置的Accounts API。当时的状况是,须要在App2中调用App1的用户身份验证组件,可是不知道为何登入界面老是没法正常开启。后来我在LogCat中发现了下面这段信息:java

 

java.lang.RuntimeException: Unable to start activity ComponentInfo {xxxx}: java.lang.SecurityException: Permission Denial: starting Intent {xxxx} from ProcessRecord {xxxx} (pid=xxxx, uid=xxxx) not exported from uid xxxx

 

这是因为什么致使的?解决方案是什么?若是你对此有兴趣,请移步到个人blog,地址以下:android

 

 

地址:http://kohoh1992.github.io/ActivityNotExported/git

 

哦,对了。忘记补充了,这里的文章所有都是我我的blog上的副本。若是你对个人blog有兴趣,请移步至 http://kohoh1992.github.iogithub

相关文章
相关标签/搜索