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

Add namespace to build.gradle #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

redchillipadi
Copy link

After upgrading Android Gradle Plugin to avoid imperative mode following https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply, the cr_file_saver fails to build without a namespace.

A problem occurred configuring project ':cr_file_saver'.

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Please specify a namespace in the module's build.gradle file like so:
android {
namespace 'com.example.namespace'
}

This adds a namespace to fix the issue

After upgrading Android Gradle Plugin to avoid imperative mode following https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply, the cr_file_saver fails to build without a namespace.

A problem occurred configuring project ':cr_file_saver'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Please specify a namespace in the module's build.gradle file like so:
     android {
         namespace 'com.example.namespace'
     }

This adds a namespace to fix the 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

Successfully merging this pull request may close these issues.

None yet

1 participant