开发者社区> 问答> 正文

android友盟分享QQ和QQ空间时出现内存泄露

05-12 19:22:46.570: E/StrictMode(30304): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
 05-12 19:22:46.570: E/StrictMode(30304): java.lang.Throwable: Explicit termination method 'end' not called
 05-12 19:22:46.570: E/StrictMode(30304): at dalvik.system.CloseGuard.open(CloseGuard.java:184)
 05-12 19:22:46.570: E/StrictMode(30304): at java.util.zip.Inflater.(Inflater.java:82)
 05-12 19:22:46.570: E/StrictMode(30304): at java.util.zip.GZIPInputStream.(GZIPInputStream.java:96)
 05-12 19:22:46.570: E/StrictMode(30304): at java.util.zip.GZIPInputStream.(GZIPInputStream.java:81)
 05-12 19:22:46.570: E/StrictMode(30304): at com.tencent.open.utils.HttpUtils.a(ProGuard:612)
 05-12 19:22:46.570: E/StrictMode(30304): at com.tencent.open.utils.HttpUtils.openUrl2(ProGuard:584)
 05-12 19:22:46.570: E/StrictMode(30304): at com.tencent.open.utils.OpenConfig$1.run(ProGuard:191)

在点击QQ空间分享后有时候能跳转到网页,有时候不跳转到网页,然后直接崩了,日志显示如上,找了各方资料,官网demo测试都没问题,代码复制过来就出问题了

展开
收起
爵霸 2016-06-20 10:38:43 3060 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
58同城Android客户端Walle框架演进与实践之路 立即下载
Android组件化实现 立即下载
蚂蚁聚宝Android秒级编译——Freeline 立即下载