Closed hshm closed 1 year ago
AGP升级,weex页面无法加载,白屏。
具体错误信息: SO文件找不到,Weex初始化失败
weex sdk: 0.28.0 AGP: com.android.tools.build:gradle:7.2.1 gradle: https://services.gradle.org/distributions/gradle-7.3.3-bin.zip
已解决。添加如下配置即可: jniLibs { useLegacyPackaging = true }
官方说明:https://developer.android.com/build/releases/past-releases/agp-4-2-0-release-notes#compress-native-libs-dsl
中文相关:https://blog.csdn.net/zl_china/article/details/125212864
Describe the bug
AGP升级,weex页面无法加载,白屏。
具体错误信息: SO文件找不到,Weex初始化失败
Environment
weex sdk: 0.28.0 AGP: com.android.tools.build:gradle:7.2.1 gradle: https://services.gradle.org/distributions/gradle-7.3.3-bin.zip
Expected behavior
Screenshots
Additional context