incrediblezayed / file_saver

A simple flutter plugin for saving files in all platforms
https://pub.dev/packages/file_saver
BSD 3-Clause "New" or "Revised" License
75 stars 92 forks source link

Update to Gradle 8 #75

Closed quoc-huynh-cosee closed 8 months ago

quoc-huynh-cosee commented 10 months ago

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 commented 10 months ago

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

quoc-huynh-cosee commented 10 months ago

@incrediblezayed Any updates so far?

quoc-huynh-cosee commented 9 months ago

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

incrediblezayed commented 9 months ago

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 commented 8 months ago

Merged