ysak-y / flutter_audio_capture

Package to capture audio stream buffer for flutter
MIT License
21 stars 28 forks source link

Build error on targetSdkVersion 34 #32

Closed Seferi closed 1 week ago

Seferi commented 2 months ago

Hi there,

thanks for the great package. when I try to build my app for targetSdkVersion 34, I get this error:

* What went wrong:
A problem occurred configuring project ':flutter_audio_capture'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file: /Users/user/.pub-cache/hosted/pub.dev/flutter_audio_capture-1.1.7/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

     If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

I'd appreciate if you could update the package accordingly. Thanks in advance.

ysak-y commented 1 week ago

It would be Resolved by https://github.com/ysak-y/flutter_audio_capture/pull/33. Thank you so much @Seferi .