9900
9900
  • 发布:2021-09-26 17:01
  • 更新:2023-12-11 14:23
  • 阅读:1177

【报Bug】安卓离线打包运行白屏,错误日志

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 10

HBuilderX类型: 正式

HBuilderX版本号: 3.2.3

手机系统: Android

手机系统版本号: Android 11

手机机型: L2H

页面类型: vue

打包方式: 离线

项目创建方式: HBuilderX

操作步骤:

        at io.dcloud.common.cs.DA.arn(Native Method)  
        at io.dcloud.common.cs.DA.ar(DA.java:50)  
        at io.dcloud.feature.ad.dcloud.ADHandler.pull(SourceFile:21)  
        at io.dcloud.feature.ad.dcloud.AdFeatureImpl.doForFeature(SourceFile:62)  
        at io.dcloud.feature.ad.AdFeatureImplMgr.doForFeature(SourceFile:6)  
        at io.dcloud.a.a(SourceFile:13)  
        at io.dcloud.b.checkAndRequestStoragePermission(SourceFile:27)  
        at io.dcloud.WebAppActivity.checkAndRequestStoragePermission(SourceFile:1)  
        at io.dcloud.b$f.onClick(SourceFile:1)  
        at io.dcloud.common.ui.a$d$j.onClick(SourceFile:9)  
        at android.view.View.performClick(View.java:7448)  
        at android.view.View.performClickInternal(View.java:7425)  
        at android.view.View.access$3600(View.java:810)  
        at android.view.View$PerformClick.run(View.java:28309)  
        at android.os.Handler.handleCallback(Handler.java:938)  
        at android.os.Handler.dispatchMessage(Handler.java:99)  
        at android.os.Looper.loop(Looper.java:223)  
        at android.app.ActivityThread.main(ActivityThread.java:7697)  
        at java.lang.reflect.Method.invoke(Native Method)  
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)  
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952) ```

预期结果:

正常运行

实际结果:

        at io.dcloud.common.cs.DA.arn(Native Method)  
        at io.dcloud.common.cs.DA.ar(DA.java:50)  
        at io.dcloud.feature.ad.dcloud.ADHandler.pull(SourceFile:21)  
        at io.dcloud.feature.ad.dcloud.AdFeatureImpl.doForFeature(SourceFile:62)  
        at io.dcloud.feature.ad.AdFeatureImplMgr.doForFeature(SourceFile:6)  
        at io.dcloud.a.a(SourceFile:13)  
        at io.dcloud.b.checkAndRequestStoragePermission(SourceFile:27)  
        at io.dcloud.WebAppActivity.checkAndRequestStoragePermission(SourceFile:1)  
        at io.dcloud.b$f.onClick(SourceFile:1)  
        at io.dcloud.common.ui.a$d$j.onClick(SourceFile:9)  
        at android.view.View.performClick(View.java:7448)  
        at android.view.View.performClickInternal(View.java:7425)  
        at android.view.View.access$3600(View.java:810)  
        at android.view.View$PerformClick.run(View.java:28309)  
        at android.os.Handler.handleCallback(Handler.java:938)  
        at android.os.Handler.dispatchMessage(Handler.java:99)  
        at android.os.Looper.loop(Looper.java:223)  
        at android.app.ActivityThread.main(ActivityThread.java:7697)  
        at java.lang.reflect.Method.invoke(Native Method)  
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)  
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952) ``` 

bug描述:

安卓离线打包3.2.3.81011_20210826 的 SDK,页面是HbuilderX3.2.3,一般闪退或者页面运行白屏后不停的提示错误如下:
java.lang.UnsatisfiedLinkError: No implementation found for void io.dcloud.common.cs.DA.arn(java.lang.String, java.lang.Object) (tried Java_io_dcloud_common_cs_DA_arn and Java_io_dcloud_common_cs_DA_arn__Ljava_lang_String_2Ljava_lang_Object_2)
at io.dcloud.common.cs.DA.arn(Native Method)
at io.dcloud.common.cs.DA.ar(DA.java:50)
at io.dcloud.feature.ad.dcloud.ADHandler.pull(SourceFile:21)
at io.dcloud.feature.ad.dcloud.AdFeatureImpl.doForFeature(SourceFile:62)
at io.dcloud.feature.ad.AdFeatureImplMgr.doForFeature(SourceFile:6)
at io.dcloud.a.a(SourceFile:13)
at io.dcloud.b.checkAndRequestStoragePermission(SourceFile:27)
at io.dcloud.WebAppActivity.checkAndRequestStoragePermission(SourceFile:1)
at io.dcloud.b$f.onClick(SourceFile:1)
at io.dcloud.common.ui.a$d$j.onClick(SourceFile:9)
at android.view.View.performClick(View.java:7448)
at android.view.View.performClickInternal(View.java:7425)
at android.view.View.access$3600(View.java:810)
at android.view.View$PerformClick.run(View.java:28309)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7697)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
当时搜贴 看到说这个问题,3.1.2已经修改好了,但是现在新版本重现问题。麻烦管理员看到后及时帮忙解答疑问,谢谢!

2021-09-26 17:01 负责人:无 分享
已邀请:
nayun

nayun

你好,问题解决了吗,怎么解决的

FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

更新最新离线SDK看看

  • nayun

    HbuilderX升级到最新的3.3.11,sdk也升级到最新的3.3.11,用的Android离线打包方式运行的,运行后先白屏,然后闪退。错误日志如下:


    No implementation found for void io.dcloud.common.cs.DA.arn(java.lang.String, java.lang.Object) (tried Java_io_dcloud_common_cs_DA_arn and Java_io_dcloud_common_cs_DA_arn__Ljava_lang_String_2Ljava_lang_Object_2)  
    at io.dcloud.common.cs.DA.arn(Native Method)
    at io.dcloud.common.cs.DA.ar(DA.java:50)
    at io.dcloud.feature.gg.dcloud.ADHandler.pull(SourceFile:21)
    at io.dcloud.feature.gg.dcloud.AdFeatureImpl.doForFeature(SourceFile:247)
    at io.dcloud.feature.gg.AdFeatureImplMgr.doForFeature(SourceFile:5)
    at io.dcloud.a.a(SourceFile:18)
    at io.dcloud.b.checkAndRequestStoragePermission(SourceFile:28)
    at io.dcloud.WebAppActivity.checkAndRequestStoragePermission(SourceFile:1)
    at io.dcloud.b$c.a(SourceFile:7)
    at io.dcloud.common.ui.b.a(SourceFile:340)
    at io.dcloud.b.onCreate(SourceFile:47)
    at io.dcloud.WebAppActivity.onCreate(SourceFile:24)
    at com.wuguanlaoshan.yezhu.MPandoraEntryActivity.onCreate(MPandoraEntryActivity.java:30)
    at android.app.Activity.performCreate(Activity.java:7896)
    at android.app.Activity.performCreate(Activity.java:7885)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1353)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3557)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3727)
    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2279)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loop(Looper.java:230)
    at android.app.ActivityThread.main(ActivityThread.java:7915)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:526)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)

    2022-02-18 10:08

哈灰色

哈灰色 - 功能测试

java.lang.UnsatisfiedLinkError: No implementation found for void io.dcloud.common.cs.DA.arn(java.lang.String, java.lang.Object) (tried Java_io_dcloud_common_cs_DA_arn and Java_io_dcloud_common_cs_DA_arn__Ljava_lang_String_2Ljava_lang_Object_2)

sdk
Android-SDK@3.5.0.81384_20220624

离线打包apks 报错

BillTest

BillTest

这个问题有解决吗 ?

要回复问题请先登录注册