8***@qq.com
8***@qq.com
  • 发布:2024-07-19 18:54
  • 更新:2024-07-19 19:10
  • 阅读:151

云端打包报错,compileSdkVersion版本号低于所需

分类:uni-app

核心是原生插件依赖androidx.health.connect:connect-client:1.1.0-alpha07,connect-client又依赖compileSdkVersion34,但云端环境看起来是compileSdkVersion33,请教如何修改

已知这里healthconnect的版本不能降低,因为要支持Android14

* What went wrong:  
Execution failed for task ':app:checkReleaseAarMetadata'.  
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction  
> The minCompileSdk (34) specified in a  
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)  
is greater than this module's compileSdkVersion (android-33).  
Dependency: androidx.health.connect:connect-client:1.1.0-alpha07.  
AAR metadata file: /srv/.gradle/caches/transforms-3/cb8e34b2293e92070d6bb679a0b0ef8b/transformed/jetified-connect-client-1.1.0-alpha07/META-INF/com/android/build/gradle/aar-metadata.properties.
2024-07-19 18:54 负责人:无 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

目前线上云端打包编译器SDK版本33,正在做升级适配,预计下周会发alpha版本支持,请关注新版本更新日志。

要回复问题请先登录注册