: java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy 解决方法

11-26 09:13:10.105: E/AndroidRuntime(30379): FATAL EXCEPTION: main
11-26 09:13:10.105: E/AndroidRuntime(30379): Process: com.chinamobile.contacts.im, PID: 30379
11-26 09:13:10.105: E/AndroidRuntime(30379): java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@43608450 (pid=30379) when publishing content providers
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.os.Parcel.readException(Parcel.java:1468)
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.os.Parcel.readException(Parcel.java:1422)
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.app.ActivityManagerProxy.publishContentProviders(ActivityManagerNative.java:2903)
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4663)
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4594)
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.app.ActivityThread.access$1800(ActivityThread.java:139)
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.os.Handler.dispatchMessage(Handler.java:102)
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.os.Looper.loop(Looper.java:136)
11-26 09:13:10.105: E/AndroidRuntime(30379): at android.app.ActivityThread.main(ActivityThread.java:5314)
11-26 09:13:10.105: E/AndroidRuntime(30379): at java.lang.reflect.Method.invokeNative(Native Method)
11-26 09:13:10.105: E/AndroidRuntime(30379): at java.lang.reflect.Method.invoke(Method.java:515)
11-26 09:13:10.105: E/AndroidRuntime(30379): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
11-26 09:13:10.105: E/AndroidRuntime(30379): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:680)

11-26 09:13:10.105: E/AndroidRuntime(30379): at dalvik.system.NativeStart.main(Native Method)



解决方法:

http://stackoverflow.com/questions/18096607/using-crop-intent-getting-java-lang-securityexception-unable-to-find-app-for-ca

http://www.tuicool.com/articles/ABRVVj

你可能感兴趣的:(android知识点)