flutter_zoom_plugin
flutter_zoom_plugin copied to clipboard
Error after adding pubspec dependency
After I add in pubspec.yaml, I am getting the following error -
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':flutter_zoom_plugin:bundleDebugAar'.
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :flutter_zoom_plugin project caused this error: /home/system/.pub-cache/git/flutter_zoom_plugin-1647c9e48d2f31da434a777037d949ed3f3391ff/android/libs/commonlib/commonlib.aar, /home/system/.pub-cache/git/flutter_zoom_plugin-1647c9e48d2f31da434a777037d949ed3f3391ff/android/libs/mobilertc/mobilertc.aar
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-
Get more help at https://help.gradle.org
BUILD FAILED in 14s Exception: Gradle task assembleDebug failed with exit code 1
Please help
Hi,
Could you please provide more information about flutter doctor output, device used, version etc. as outlined in the bug report template?
I've got the same issue, after updating the android project to com.android.tools.build:gradle:4.0.0
Good evening same issue here running on android simulator, using Visual Studio Code 1.48.2, VSCode Flutter plugin 3.13.2 here are the info:
**Branch:**master Flutter Doctor output: [✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.15.6 19G2021, locale en-BR) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 11.7) [✓] Android Studio (version 4.0) [✓] VS Code (version 1.48.2) [✓] Connected device (1 available)
• No issues found!
**Android Simulator:**Pixel 3 API 29 (android-x86 emulator) build.gradle config: minSdkVersion 24 targetSdkVersion 29
But, if i run it from Android Studio it compiles and works, so it seems to be an issue only when running from Visual Studio Code
any solution?
I've got the same issue, after updating the android project to com.android.tools.build:gradle:4.0.0
same here.