Open alexkeramidas opened 10 months ago
Hi @alexkeramidas , I appreciate your interest in the plugin! Currently, there are no plans to upgrade the Gradle version in the Android section. Could you please specify the build warnings you've encountered during your development?
I might be able to upgrade the Android Gradle to version 8 by the end of this month, as I am currently occupied with work.
Sure. Start a fresh flutter project and open it in Android Studio (app builds and runs) Change the compileSdkVersion to 34 in android/app/build.gradle as suggested by Android Studio (app builds and runs) Resync gradle (app builds and runs) Follow the AGP upgrade prompts by Android Studio (app builds and runs) After you add sound_mode: ^3.0.0 to pubspec.yaml the app fails to build with the following failure
Hi. As a temporary workaround, you can avoid namespace build errors by adding the following code to android/build.gradle
in your project.
I hope this helps everyone.
subprojects {
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
if (namespace == null) {
namespace project.group
}
}
}
}
}
Or if pull request #20 here is released to pub.dev, it looks like it will be resolved.
Well done for the work on this plugin.
Quick question / feature request:
Are there any plans to introduce an upgrade to the Gradle version used on the android section to fix build warnings and enable usage of Gradle 8+ in the applications that use it?
Thanks in advance!