I did everything in order to integrate with Android - according to README
However i get this:
Launching lib/main.dart on sdk gphone x86 in debug mode...
Running Gradle task 'assembleDebug'...
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/CheckoutApiService.kt: (36, 72): 'run(T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/CheckoutApiService.kt: (38, 22): 'forEach((T) -> Unit): Unit' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (96, 21): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (190, 21): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (198, 25): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (204, 25): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (213, 17): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (220, 13): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (240, 21): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (248, 21): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (254, 21): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (262, 17): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
e: /Users/mikhailbarsukou/work/apps/flutter/.pub-cache/hosted/pub.dartlang.org/adyen_dropin-0.7.1/android/src/main/kotlin/app/adyen/flutter_adyen/FlutterAdyenPlugin.kt: (269, 13): 'with(T, T.() -> R): R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':adyen_dropin:compileDebugKotlin'.
> Compilation error. See log for more details
* 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 4s
Exception: Gradle task assembleDebug failed with exit code 1
Please, help me with this.
My flutter doctor -v is
[✓] Flutter (Channel stable, 2.2.1, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-ES)
• Flutter version 2.2.1 at
• Framework revision 02c026b03c (4 weeks ago), 2021-05-27 12:24:44 -0700
• Engine revision 0fdb562ac8
• Dart version 2.13.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.1, Build version 12A7403
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.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 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 55.1.5
• Dart plugin version 211.6693.108
[✓] VS Code (version 1.41.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (3 available)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• macOS (desktop) • macos • darwin-x64 • Mac OS X 10.15.7 19H15 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114
• No issues found!
Dear Team,
Can you, please, assist?
I did everything in order to integrate with Android - according to README
However i get this:
Please, help me with this.
My
flutter doctor -v
is