为什么VOD-视频点播运行程序都启动不了?flutter_aliplayer: ^5.4.10
Build fingerprint: 'Redmi/alioth/alioth:13/TKQ1.220829.002/V14.0.23.4.17.DEV:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2023-06-09 08:59:53.053182594+0800
Process uptime: 1s
ZygotePid: 1940691770
Cmdline: com.eul.windc
pid: 16722, tid: 16722, name: com.eul.windc >>> com.eul.windc <<<
uid: 10430
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'JNI DETECTED ERROR IN APPLICATION: java_class == null
in call to GetFieldID
from java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.Class)'
x0 0000000000000000 x1 0000000000004152 x2 0000000000000006 x3 0000007ff99353a0
x4 5151441f43445342 x5 5151441f43445342 x6 5151441f43445342 x7 7f7f7f7f7f7f7f7f
x8 00000000000000f0 x9 0000007c11263cb0 x10 0000000000000001 x11 0000007c112d8748
x12 0000007b76a01430 x13 000000002734c8c0 x14 000000002734c780 x15 0000000034155555
x16 0000007c11343a70 x17 0000007c1131c3d0 x18 0000000000000020 x19 0000000000004152
x20 0000000000004152 x21 00000000ffffffff x22 0000000000000002 x23 0000007ff99355b8
x24 0000007b70c16000 x25 0000007ff99355b0 x26 0000007c169c3000 x27 0000007b70a0b038
x28 0000007b70a0b268 x29 0000007ff9935420
lr 0000007c112c96c8 sp 0000007ff9935380 pc 0000007c112c96f4 pst 0000000000001000
backtrace:
#00 pc 000000000008d6f4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 2bb0d7188c0db2e8beecb24658ba9d71)
#01 pc 000000000061f104 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+1204) (BuildId: 4ecc70344e180e7eb5404cd12fba6904)
#02 pc 0000000000017114 /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+84) (BuildId: ef369bfbad96b532c6d8e0b144a68b96)
#03 pc 0000000000016648 /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+356) (BuildId: ef369bfbad96b532c6d8e0b144a68b96)
#04 pc 0000000000459d44 /apex/com.android.art/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+2368) (BuildId: 4ecc70344e180e7eb5404cd12fba6904)
#05 pc 000000000048a65c /apex/com.android.art/lib64/libart.so (art::JNI<false>::GetFieldID(_JNIEnv*, _jclass*, char const*, char const*)+1328) (BuildId: 4ecc70344e180e7eb5404cd12fba6904)
#06 pc 00000000000a4968 /data/app/~~ErAKejVsguUBpXD5FctvIw==/com.eul.windc-XV_91vPHUrtZmFOqmW5bMg==/base.apk!libsaasCorePlayer.so (BuildId: 8b82bdddc202236de247f5e2c07d49ab5d02178c)
#07 pc 000000000009e98c /data/app/~~ErAKejVsguUBpXD5FctvIw==/com.eul.windc-XV_91vPHUrtZmFOqmW5bMg==/base.apk!libsaasCorePlayer.so (BuildId: 8b82bdddc202236de247f5e2c07d49ab5d02178c)
#08 pc 000000000009ed68 /data/app/~~ErAKejVsguUBpXD5FctvIw==/com.eul.windc-XV_91vPHUrtZmFOqmW5bMg==/base.apk!libsaasCorePlayer.so (JNI_OnLoad+80) (BuildId: 8b82bdddc202236de247f5e2c07d49ab5d02178c)
#09 pc 000000000045dafc /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+3032) (BuildId: 4ecc70344e180e7eb5404cd12fba6904)
#10 pc 00000000000052a0 /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+424) (BuildId: 898849699a82ec6393b21d0ea7c855df)
#11 pc 000000000009393c /system/framework/arm64/boot.oat (art_jni_trampoline+156) (BuildId: 8866718553fbb042237b10160dc0900ab55a1ed6)
#12 pc 00000000000a48e0 /system/framework/arm64/boot.oat (java.lang.Runtime.loadLibrary0+336) (BuildId: 8866718553fbb042237b10160dc0900ab55a1ed6)
#13 pc 00000000000a5fd8 /system/framework/arm64/boot.oat (java.lang.Runtime.loadLibrary0+184) (BuildId: 8866718553fbb042237b10160dc0900ab55a1ed6)
#14 pc 00000000000a98a4 /system/framework/arm64/boot.oat (java.lang.System.loadLibrary+100) (BuildId: 8866718553fbb042237b10160dc0900ab55a1ed6)
#15 pc 0000000000210c00 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: 4ecc70344e180e7eb5404cd12fba6904)
#16 pc 000000000027b4ac /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+240) (BuildId: 4ecc70344e180e7eb5404cd12fba6904)
#17 pc 00000000003eb8f0 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+456) (BuildId: 4ecc70344e180e7eb5404cd12fba6904)
#18 pc 00000000003e5fa4 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+796) (BuildId: 4ecc70
项目可以正常运行,本地 flutter SDK 版本比较低 2.x,所以需要修改项目配置。修改如下:1.yaml 修改
2.注释掉截图中的代码,使用 gradle 中配置的 VERSION_1_8
3.gradle 中的配置修改
4.其他修改。其他修改属于 flutter 中某些 widget 的属性、接口调用修改,和编译环境没有多大关系。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。