-
Notifications
You must be signed in to change notification settings - Fork 82
Direct local .aar file dependencies are not supported when building an AAR. #53
Comments
Any updates? |
@praharshbhatt I am also facing same issue ? Did you fixed the issue ? If yes, please let me know how did you fixed. Execution failed for task ':flutter_zoom_plugin:bundleDebugAar'.
|
@Mallikarjun7657 Can you retry with the following configuration:
flutter clean |
Found a solution & it worked with Debug-RELEASE APK/Bundle if you have a flutter project demo
--> Open gradle.properties insert following code
One last change is a suggestion to flutter-zoom-plugin, We changed a line in build.gradle of android module of this plugin :
Don't forget to add the proguard-rules for zoom libs/classes (if you skip it, it may not work in release APK/Bundle) Preview for file proguard-rules.pro
|
@amaurya08 Where i need to add these lines? |
Just for the sake of making my project work, I added the zoom plugin complete folder into project root folder. Here is the screenshot for the same and for the libs folder |
I'm facing a similar issue, but Google states:
Source: https://developer.android.com/studio/build/dependencies |
add compileOnly in plugin's android module project level (build.gradle) file. I am using follwoing gradle configuration `group 'com.decodedhealth.flutter_zoom_plugin' buildscript {
} rootProject.allprojects { apply plugin: 'com.android.library' android {
} dependencies { Here is my flutter application's project level gradle
} allprojects { rootProject.buildDir = '../build' task clean(type: Delete) { App level gradle flutter { dependencies { _### And it's working 🗡️ _ |
It is not working. I'm having the same issue.
|
any progress or solutions to this "direct local .aar file" problem? |
See solution posted to https://github.com/flutter/flutter/issues/28195 |
Execution failed for task ':flutter_zoom_plugin:bundleReleaseAar'.
BUILD FAILED in 2m 29s |
Your Environment
flutter doctor
):Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.0, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[√] Android Studio (version 4.0)
[√] Connected device (1 available)
• No issues found!
Expected Behavior
Application runs
Actual Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered: