StartApp在加载时崩溃Android应用程序

StartApp在加载时崩溃Android应用程序,第1张

概述我的 Android应用程序运行良好,广告出现并正常工作等,在模拟器上,当我使用eclipse adt在手机上测试时,但是当它从Play商店下载时,它立即崩溃,给出了logcat输出: 09-28 18:50:21.280: E/AndroidRuntime(17895): FATAL EXCEPTION: main09-28 18:50:21.280: E/AndroidRuntime(178 我的 Android应用程序运行良好,广告出现并正常工作等,在模拟器上,当我使用eclipse adt在手机上测试时,但是当它从Play商店下载时,它立即崩溃,给出了logcat输出:

09-28 18:50:21.280: E/AndroIDRuntime(17895): FATAL EXCEPTION: main09-28 18:50:21.280: E/AndroIDRuntime(17895): Process: com.jakebarnby.pop,PID: 1789509-28 18:50:21.280: E/AndroIDRuntime(17895): java.lang.AssertionError09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.b.a.bf.<init>(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.b.a.as.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.j.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.b.a.q.<init>(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.b.a.p.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.b.a.p.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.b.a.p.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.j.a(UnkNown  Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.j.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.j.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.j.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.i.j.a(UnkNown   Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.o.b(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.o.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.startapp.androID.publish.o.a(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at jakebarnby.pop.MainActivity.onCreate(UnkNown Source)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at androID.app.Activity.performCreate(Activity.java:5312)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at androID.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at androID.app.ActivityThread.performlaunchActivity(ActivityThread.java:2181)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at     androID.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2276)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at androID.app.ActivityThread.access0(ActivityThread.java:144)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at androID.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at androID.os.Handler.dispatchMessage(Handler.java:102)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at androID.os.Looper.loop(Looper.java:136)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at androID.app.ActivityThread.main(ActivityThread.java:5146)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at java.lang.reflect.Method.invokeNative(Native Method)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at java.lang.reflect.Method.invoke(Method.java:515)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.androID.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:612)09-28 18:50:21.280: E/AndroIDRuntime(17895):    at dalvik.system.NativeStart.main(Native Method)

而且我不知道为什么.任何帮助将不胜感激

解决方法 你的proguard启用了吗?如果是,则必须添加startapp的obfustication代码.它写的是他们的文档. Here是链接.代码从那里复制.

-keep class com.startapp.** {      *;}-keepattributes Exceptions,InnerClasses,Signature,Deprecated,Sourcefile,lineNumbertable,*Annotation*,EnclosingMethod-dontwarn androID.webkit.JavaScriptInterface-dontwarn com.startapp.**
总结

以上是内存溢出为你收集整理的StartApp在加载时崩溃Android应用程序全部内容,希望文章能够帮你解决StartApp在加载时崩溃Android应用程序所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1127681.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存