hnvn / flutter_image_cropper

A Flutter plugin for Android and iOS supports cropping images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Namespace not specified. Android.

RedFox64 opened this issue · comments

commented

I changed gradle-7.6 to gradle-8.1

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':image_cropper'.

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'
 }

 If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
commented

fixed in v4.0.0