Caused by: java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadP
来源:互联网 发布:金天鹅软件 编辑:程序博客网 时间:2024/05/21 13:58
E/AndroidRuntime(30379): FATAL EXCEPTION: main
E/AndroidRuntime(30379): Process: com.chinamobile.contacts.im, PID: 30379
E/AndroidRuntime(30379): java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@43608450 (pid=30379) when publishing content providers
E/AndroidRuntime(30379): at android.os.Parcel.readException(Parcel.java:1468)
E/AndroidRuntime(30379): at android.os.Parcel.readException(Parcel.java:1422)
E/AndroidRuntime(30379): at android.app.ActivityManagerProxy.publishContentProviders(ActivityManagerNative.java:2903)
E/AndroidRuntime(30379): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4663)
E/AndroidRuntime(30379): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4594)
E/AndroidRuntime(30379): at android.app.ActivityThread.access$1800(ActivityThread.java:139)
E/AndroidRuntime(30379): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
E/AndroidRuntime(30379): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(30379): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(30379): at android.app.ActivityThread.main(ActivityThread.java:5314)
E/AndroidRuntime(30379): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(30379): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(30379): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/AndroidRuntime(30379): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:680)
E/AndroidRuntime(30379): Process: com.chinamobile.contacts.im, PID: 30379
E/AndroidRuntime(30379): java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@43608450 (pid=30379) when publishing content providers
E/AndroidRuntime(30379): at android.os.Parcel.readException(Parcel.java:1468)
E/AndroidRuntime(30379): at android.os.Parcel.readException(Parcel.java:1422)
E/AndroidRuntime(30379): at android.app.ActivityManagerProxy.publishContentProviders(ActivityManagerNative.java:2903)
E/AndroidRuntime(30379): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4663)
E/AndroidRuntime(30379): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4594)
E/AndroidRuntime(30379): at android.app.ActivityThread.access$1800(ActivityThread.java:139)
E/AndroidRuntime(30379): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
E/AndroidRuntime(30379): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(30379): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(30379): at android.app.ActivityThread.main(ActivityThread.java:5314)
E/AndroidRuntime(30379): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(30379): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(30379): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/AndroidRuntime(30379): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:680)
E/AndroidRuntime(30379): at dalvik.system.NativeStart.main(Native Method)
解决方法:这种BUG一般是因为进行页面跳转时,Intent中传递的参数过大,如是Bitmap的图片或者是某些比较大的文件时会出现这种错误。解决办法是传参不要直接传递此类文件,而是将传递它的存储地址,以一个字符串存储它的地址进行传递。
参考:http://stackoverflow.com/questions/18096607/using-crop-intent-getting-java-lang-securityexception-unable-to-find-app-for-ca
http://blog.csdn.net/subaohao/article/details/41511051
0 1
- Caused by: java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadP
- Caused by: java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadP
- java.lang.SecurityException:Unable to create application Unable to find app for caller android.app
- : java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy 解决方法
- intent Getting java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThr
- java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy
- java.lang.SecurityException: Unable to find app for caller android.app.ActivityThread$
- java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@12d7a3
- SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy when publishing
- Unable to find app for caller android.app.ApplicationThreadProxy解决方案
- Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.int
- Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.int
- Caused by: java.lang.IllegalStateException: Unable to find a single main class from问题解决
- Caused by: java.lang.SecurityException: Permission Denif
- Caused by: java.lang.ClassNotFoundException: Didn't find class "net.oschina.app.AppContext" on path:
- Caused by: java.lang.ClassNotFoundException: Didn't find class "com.yinuo.parking.app.MyApplication"
- Caused by: java.lang.RuntimeException: Unable to bind views for xxActivity
- Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.google.android.webview-2/li
- Quartz2D-图形上下文栈
- ios9 jsonkit crash更新xcode7后原来的jsonkit崩溃
- 私有点播cdn切换前-测试总结
- 网络安全书籍推荐
- RocketMQ(二)——TopicPublicInfo
- Caused by: java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadP
- 使用canvas 将img 的url 转换为base64格式
- 【ListView】三行搞定你的Adapter,和几十行的getview Say goodBye
- Xcode插件管理工具Alcatraz
- 第四周项目二数据结构之自建算法库——单链表
- php连接mongoDB的几个问题
- leetcode Longest Palindromic Substring
- ewebeditor上传文件大小及在线编辑器jsp版使用心得
- C++设计模式——抽象工厂模式