Skip to content

Update build.gradle set-namespace#1398

Open
vishnuabajay wants to merge 4 commits intojhomlala:masterfrom
vishnuabajay:master
Open

Update build.gradle set-namespace#1398
vishnuabajay wants to merge 4 commits intojhomlala:masterfrom
vishnuabajay:master

Conversation

@vishnuabajay
Copy link
Copy Markdown

No description provided.

@vishnuabajay
Copy link
Copy Markdown
Author

a

@amgoingin
Copy link
Copy Markdown

are u guys gonna fix the name space or no ? i have the same issue ?

@Manraj45
Copy link
Copy Markdown

Hey,
We would also need this fix for our project. The error we get currently in our project with the latest version of Android Gradle Plugin (8.9):

Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
Running Gradle task 'assembleProdDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':better_player'.
> 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: /.pub-cache/hosted/pub.dev/better_player-0.0.84/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.

* 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 7s
Error: Gradle task assembleProdDebug failed with exit code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants