Skip to content

Add namespace to build.gradle - #16

Open
redchillipadi wants to merge 1 commit into
Cleveroad:mainfrom
crit-iq:gradle-namespace
Open

Add namespace to build.gradle#16
redchillipadi wants to merge 1 commit into
Cleveroad:mainfrom
crit-iq:gradle-namespace

Conversation

@redchillipadi

Copy link
Copy Markdown

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.

1 participant