t***@163.com
t***@163.com
  • 发布:2025-05-23 14:28
  • 更新:2025-05-23 16:41
  • 阅读:39

uniapp原生安卓嵌入flutter快照报错,依赖冲突

分类:uni-app

05-21 10:30:32.443 3758 3758 F flutter : [FATAL:flutter/runtime/dart_vm_initializer.cc(89)] Error while initializing the Dart VM: Wrong full snapshot version, expected 'ee1eb666c76a5cb7746faf39d0b97547' found 'd20a1be77c3d3c41b2a5accaee1ce549'
05-21 10:30:32.568 4677 4677 E libc : Access denied finding property "ro.vendor.net.upload.benchmark.default"
05-21 10:30:32.568 4677 4677 E libc : Access denied finding property "persist.vendor.debug.en.drpcrpt"
05-21 10:30:32.557 4677 4677 W linker64: type=1400 audit(0.0:10701): avc: denied { read } for name="u:object_r:mm_video_prop:s0" dev="tmpfs" ino=15698 scontext=u:r:untrusted_app_27:s0:c145,c257,c512,c768 tcontext=u:object_r:mm_video_prop:s0 tclass=file permissive=0
05-21 10:30:32.598 4677 4677 E chromium: [0521/103032.598023:ERROR:elf_dynamic_array_reader.h(61)] tag not found
05-21 10:30:32.631 4679 3758 D dodoodla_crrrrrash: kNumWriters : Dump 13
05-21 10:30:32.631 4679 3758 D dodoodla_crrrrrash: num_threads === 79
05-21 10:30:32.704 4087 4090 E JSE : original owner has die
05-21 10:30:32.774 4685 4685 I .app.UNIDCDE20: Late-enabling -Xcheck:jni
05-21 10:30:32.786 4685 4685 E .app.UNIDCDE20: Unknown bits set in runtime_flags: 0x8000
05-21 10:30:32.838 4685 4685 I .app.UNIDCDE20: The ClassLoaderContext is a special shared library.
05-21 10:30:33.410 4426 4474 I MediaCodec: OMX.qcom.video.encoder.vp8, mInputBufferCount = 0 fps, mOutputBufferCount = 0 fps, mRenderFrameCount = 57 fps

这是部分报错,因为flutter升级了版本,在打包出来就出现了这个错误,直接白屏闪退,不知道是不是附件的这两个文件影响的?如果是 我需要在哪里升级这两个文件?谢谢了!!!!!!

2025-05-23 14:28 负责人:无 分享
已邀请:
t***@163.com

t***@163.com (作者) - 好玩

刚看了一下确实是这两个文件,对应的是flutter的3.19.6 ,在flutter的bin中里的internal/engine.version是c4cd48e186460b32d44585ce3c103271ab676355,但我现在环境3.22.0的engine.version是f6344b75dcf861d8bf1f1322780b8811f982e31a,我要去哪下载这两个个新的.jar文件?

要回复问题请先登录注册