英文:
i just tried to rebuild the project
问题
以下是代码部分的翻译:
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
外部依赖的AAR元数据(META-INF/com/android/build/gradle/aar-metadata.properties)is greater than this module's compileSdkVersion (android-30).
大于此模块的compileSdkVersion(android-30)。Dependency: androidx.window:window-java:1.0.0-beta04.
依赖项:androidx.window:window-java:1.0.0-beta04。AAR metadata file: C:\Users\Admin\.gradle\caches\transforms-2\files-2.1\625039eaad011f884ddd84f857a44b7f\jetified-window-java-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties.
AAR元数据文件:C:\Users\Admin.gradle\caches\transforms-2\files-2.1\625039eaad011f884ddd84f857a44b7f\jetified-window-java-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties。A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
在执行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)
在依赖的AAR元数据(META-INF/com/android/build/gradle/aar-metadata.properties)中指定的minCompileSdk(31)is greater than this module's compileSdkVersion (android-30).
大于此模块的compileSdkVersion(android-30)。Dependency: androidx.window:window:1.0.0-beta04.
依赖项:androidx.window:window:1.0.0-beta04。AAR metadata file: C:\Users\Admin\.gradle\caches\transforms-2\files-2.1\a78fdf90e4c1f8464b19895cfb365f3f\jetified-window-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties.
AAR元数据文件:C:\Users\Admin.gradle\caches\transforms-2\files-2.1\a78fdf90e4c1f8464b19895cfb365f3f\jetified-window-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties。
如果需要更多帮助,请使用与Gradle相关的选项来获取更多信息。
英文:
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.window:window-java:1.0.0-beta04.
AAR metadata file: C:\Users\Admin\.gradle\caches\transforms-2\files-2.15039eaad011f884ddd84f857a44b7f\jetified-window-java-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties.
> 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-30).
Dependency: androidx.window:window:1.0.0-beta04.
AAR metadata file: C:\Users\Admin.gradle\caches\transforms-2\files-2.1\a78fdf90e4c1f8464b19895cfb365f3f\jetified-window-1.0.0-beta04\META-INF\com\android\build\gradle\aar-metadata.properties.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
> BUILD FAILED in 1s ┌─ Flutter Fix
> ────────────────────────────────────────────────────────────────────────┐
> │ [!] Your project requires a higher compileSdkVersion.
> │ │ Fix this issue by bumping the compileSdkVersion in
> G:\TOKU\android\app\build.gradle: │ │ android {
> │ │ compileSdkVersion 31
> │ │ }
> │
> └──────────────────────────────────────────────────────────────────────────────────────┘
> Exception: Gradle task assembleDebug failed with exit code 1 Exited
> (sigterm)
i deleted the project and open it again
then , everytime i try run the project this massage is appering
答案1
得分: 1
升级您的compileSdkVersion到33。
英文:
Upgrade your compileSdkVersion 33.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论