Closed mdeandrea-mrmilu closed 1 year ago
Suddenly stopped working for me this morning too, without any changes to our repository. Oddly enough, I can build it locally just fine, but when running the exact same command through CodeMagic; it fails miserably.
Solved!
I had 3 projects. 1 shared and 2 apps. 1 of these apps don't use square_in_app_payments
, so when I import the shared project with square_in_app_payments
dependency I have got this error.
I removing dependency from shared project and now the projects works fine
Describe the issue
I tried build a app to Android and get this error
Here is the log:
To Reproduce
Steps to reproduce the issue.
Expected behavior
That can build to Android
Environment
In-App Payments Plugin version: 1.7.5
In addition: Run
flutter doctor -v
in your terminal and copy the results here.[✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-x64, locale en-ES) • Flutter version 3.3.10 on channel stable at /Users/matias/fvm/versions/3.3.10 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 135454af32 (5 weeks ago), 2022-12-15 07:36:55 -0800 • Engine revision 3316dd8728 • Dart version 2.18.6 • DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) • Android SDK at /Users/matias/Library/Android/sdk • Platform android-33, build-tools 33.0.1 • ANDROID_HOME = /Users/matias/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14C18 • CocoaPods version 1.11.3
[✓] Android Studio (version 2021.3) • 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 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.74.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.56.0
[✓] Connected device (1 available) • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator)
[✓] HTTP Host Availability • All required HTTP hosts are available
Screenshots
Additional context
app/build.gradle
build.gradle
gradle.properties
gradle-wrapper.properties