Closed Lyokone closed 3 years ago
After adding the SDK I get this error while trying to launch my app:
e: /Users/guillaume/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/adapty_flutter-1.0.3/android/src/main/kotlin/com/adapty/flutter/AdaptyFlutterPlugin.kt: (239, 42): Expecting an argument e: /Users/guillaume/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/adapty_flutter-1.0.3/android/src/main/kotlin/com/adapty/flutter/AdaptyFlutterPlugin.kt: (207, 63): Unresolved reference: from e: /Users/guillaume/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/adapty_flutter-1.0.3/android/src/main/kotlin/com/adapty/flutter/AdaptyFlutterPlugin.kt: (489, 60): Unresolved reference: from
How can I solve this? Thanks.
Solved it by upgrading my Kotlin version in build.gradle
buildscript { ext.kotlin_version = '1.4.10'
@Lyokone yes, that's the solution
After adding the SDK I get this error while trying to launch my app:
How can I solve this? Thanks.