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

Update to Gradle 8 #75

Closed
quoc-huynh-cosee opened this issue Sep 4, 2023 · 5 comments
Closed

Update to Gradle 8 #75

quoc-huynh-cosee opened this issue Sep 4, 2023 · 5 comments

Comments

@quoc-huynh-cosee
Copy link

quoc-huynh-cosee commented Sep 4, 2023

My project is using Gradle 8 and I'm receiving this error. We can prevent it by updating this package to Gradle 8 and add an optional check if the namespace exists for backwards compatibility.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':file_saver'.
> 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.

* 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 15s
Exception: Gradle task assembleDebug failed with exit code 1
@incrediblezayed
Copy link
Owner

Okay will do asap thank! @quoc-huynh-cosee

@quoc-huynh-cosee
Copy link
Author

@incrediblezayed Any updates so far?

@quoc-huynh-cosee
Copy link
Author

Hey @incrediblezayed it's been a month? Do you need any help for that?

@incrediblezayed
Copy link
Owner

Hey @incrediblezayed it's been a month? Do you need any help for that?

Yes yes, I'd love that, I'm so sorry I've been very busy, please create a PR and I'll merge it asap

incrediblezayed added a commit that referenced this issue Oct 18, 2023
upgrade AGP to 8 (Closes issue #75)
@incrediblezayed
Copy link
Owner

Merged

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

2 participants