刚开始打开APP是没问题的,但是用了一段时间之后就出现这种情况。
现在拿到了log错误日志,麻烦官方大佬帮忙看下是怎么回事。
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.monstermoe.cut/io.dcloud.PandoraEntryActivity}: java.lang.NumberFormatException: For input string: "files"
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2944)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3079)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1836)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6702)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: Caused by: java.lang.NumberFormatException: For input string: "files"
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at java.lang.Long.parseLong(Long.java:594)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at java.lang.Long.parseLong(Long.java:636)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.feature.ad.dcloud.ADHandler.listExpiresAdData(Unknown Source:926)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.feature.ad.dcloud.ADHandler.psas(Unknown Source:863)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.feature.ad.dcloud.ADHandler.bd(Unknown Source:161)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.feature.ad.dcloud.ADHandler.pull(Unknown Source:110)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.feature.ad.dcloud.AdFeatureImpl.doForFeature(Unknown Source:133)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.feature.ad.AdFeatureImplMgr.doForFeature(Unknown Source:31)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.a.a(Unknown Source:60)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.b.checkAndRequestStoragePermission(Unknown Source:198)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.WebAppActivity.checkAndRequestStoragePermission(Unknown Source:94)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.b.onCreate(Unknown Source:129)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at io.dcloud.WebAppActivity.onCreate(Unknown Source:139)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7136)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7127)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2924)
11-23 11:16:04.475139 9625 9625 E AndroidRuntime: ... 11 more
11-23 11:16:09.886979 9792 9792 E AndroidRuntime: FATAL EXCEPTION: main
1 个回复
小枫叶 - 外包接单加v:wlmk1234567 注明来意
1.检查语法错误
2.重新创建的demo看是否能够复现此问题