flutter_image_editor icon indicating copy to clipboard operation
flutter_image_editor copied to clipboard

[Bug report] Plugin doesn't support AGP 8

Open TatsuUkraine opened this issue 1 year ago • 2 comments

Version

1.3.0

Platforms

Android

Device Model

All

flutter info

[✓] Flutter (Channel stable, 3.16.6, on macOS 13.5.2 22G91 darwin-arm64, locale ru)
    • Flutter version 3.16.6 on channel stable at ...
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 46787ee49c (2 days ago), 2024-01-09 14:36:07 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at ...
    • Platform android-34, build-tools 33.0.0
    • ANDROID_HOME = ...
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.13.0

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Network resources
    • All expected network resources are available.

How to reproduce?

Configure project to use Gradle 8

Logs

FAILURE: Build failed with an exception.

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

Example code (optional)

No response

Contact

No response

TatsuUkraine avatar Jan 12 '24 09:01 TatsuUkraine

+1

martinogarrizzo5 avatar Feb 01 '24 16:02 martinogarrizzo5

I am facing the same issue. It would be really helpful if this plugin can support AGP 8.

dewanshu725 avatar Feb 04 '24 17:02 dewanshu725

Any news on supporting AGP 8?

wemgl avatar Feb 24 '24 16:02 wemgl

Merged in #117.

CaiJingLong avatar Mar 22 '24 02:03 CaiJingLong

Hello,

@CaiJingLong, it seems that the new release 1.4.0 use a version of image_editor_common (1.0.1) which do not use the fix to support AGP 8

scolnet avatar Mar 22 '24 10:03 scolnet