gpt4 book ai didi

android - StartApp 在加载时崩溃 android 应用程序

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:24:39 25 4
gpt4 key购买 nike

我的 android 应用程序运行良好,广告显示和正常工作等,在模拟器上以及当我使用 eclipse adt 在手机上测试它时,但是当它从 play 商店下载时它立即崩溃并提供 logcat 输出:

09-28 18:50:21.280: E/AndroidRuntime(17895): FATAL EXCEPTION: main
09-28 18:50:21.280: E/AndroidRuntime(17895): Process: com.jakebarnby.pop, PID: 17895
09-28 18:50:21.280: E/AndroidRuntime(17895): java.lang.AssertionError
09-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.access$800(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)

我不知道为什么。任何帮助将不胜感激

最佳答案

你的混淆器启用了吗?如果是,则必须添加 startapp 的混淆代码。它写在他们的文档中。 Here是链接。代码是从那里复制的。

-keep class com.startapp.** {
*;
}

-keepattributes Exceptions, InnerClasses, Signature, Deprecated, SourceFile,
LineNumberTable, *Annotation*, EnclosingMethod
-dontwarn android.webkit.JavascriptInterface
-dontwarn com.startapp.**

关于android - StartApp 在加载时崩溃 android 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26082152/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com