Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl #332

Open
erperejildo opened this issue Aug 6, 2024 · 4 comments

Comments

@erperejildo
Copy link

erperejildo commented Aug 6, 2024

What went wrong:
A problem occurred configuring project ':contacts_service'.

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. 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.

AGP Upgrade Assistant didn't help to fix the issue since I get exactly the same error: Namespace not specified
I have also a specified namespace in my build.gradle and AndroidManifest.

contacts_service: ^0.6.3

@husainazkas
Copy link

also happened for me. seems like the owner package is not maintains anymore.

@mahidul-islam
Copy link

same issue

1 similar comment
@LeoAiolia
Copy link

same issue

@LeoAiolia
Copy link

image
same issue!

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

No branches or pull requests

4 participants