TencentCloud / cos-sdk-flutter-plugin

对象存储COS Flutter语言SDK(桥接plugin实现)
Apache License 2.0
8 stars 5 forks source link

Added gradle namespace #19

Closed DizzyDuan closed 6 days ago

DizzyDuan commented 2 weeks ago

FAILURE: Build failed with an exception.

jordanqin commented 6 days ago

@DizzyDuan 请测试我们提供的example项目有没有问题,我们这边测试是OK的,或者参考这个自行处理https://stackoverflow.com/questions/76300671/android-getting-error-namespace-not-specified

DizzyDuan commented 2 days ago

Testing this problem is very simple. You only need to update the Android Gradle Plugin to 8.x.x to make this problem occur.

Android Studio Koala Feature Drop | 2024.1.2 The default project version created by Flutter 3.24.3 uses Android Gradle Plugin version 8.x.x

Android Gradle Plugin 8.0.0 (April 2023) Breaking change: namespace required in module-level build script https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes

@jordanqin