首页 > 代码库 > Permission Denial not exported from uid

Permission Denial not exported from uid

E/AndroidRuntime( 1516): java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.autonavi.xmgd.navigator/.SelectPath_Available } from ProcessRecord{415b7c00 1516:com.flyaudio.mmsinterceptor/u0a48} (pid=1516, uid=10048) not exported from uid 10045
E/AndroidRuntime( 1516):     at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 1516):     at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 1516):     at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1771)
E/AndroidRuntime( 1516):     at android.app.Instrumentation.execStartActivity(Instrumentation.java:1411)
E/AndroidRuntime( 1516):     at android.app.ContextImpl.startActivity(ContextImpl.java:904)
E/AndroidRuntime( 1516):     at android.app.ContextImpl.startActivity(ContextImpl.java:893)
E/AndroidRuntime( 1516):     at android.content.ContextWrapper.startActivity(ContextWrapper.java:276)
E/AndroidRuntime( 1516):     at android.content.ContextWrapper.startActivity(ContextWrapper.java:276)
E/AndroidRuntime( 1516):     at com.fly.interceptor.PhoneReceiver$1.run(PhoneReceiver.java:84)
E/AndroidRuntime( 1516):     at java.util.Timer$TimerImpl.run(Timer.java:284)



从一个程序A中启动另一个程序B出现上述异常,原因是该程序B程序中配置了

android:exported=["true" | "false"] 是否允许activity被其它程序调用

默认为true

Permission Denial not exported from uid