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

Unable to build due to missing namespace in module #148

Open
FluffyDiscord opened this issue Nov 16, 2023 · 1 comment
Open

Unable to build due to missing namespace in module #148

FluffyDiscord opened this issue Nov 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@FluffyDiscord
Copy link

I am unable to build my app after adding this package. It seems that you are missing android.namespace in build.gradle

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':shared_storage'.
> 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.
@FluffyDiscord FluffyDiscord added the bug Something isn't working label Nov 16, 2023
@FluffyDiscord
Copy link
Author

I had to change few little things to get it to work, here's the diff: master...FluffyDiscord:shared-storage:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant