🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project (including integration testing and accessibility testing). Contains complete UI design drawings for a more realistic practice project.
What went wrong:
Execution failed for task ':app:checkReleaseAarMetadata'.
Multiple task action failures occurred:
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-29).
Dependency: androidx.window:window-java:1.0.0-beta04.
运行环境
具体问题描述
执行 flutter build apk 后异常
问题截图
异常日志
compileSdkVersion 29 targetSdkVersion 29 改成 compileSdkVersion 31 targetSdkVersion 31 不知道这样对不对?