Launching lib/main.dart on Android SDK built for arm64 in debug mode...
Running Gradle task 'assembleDebug'...
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/flutter/stripe/StripeAndroidPlugin.kt:36:43 Unresolved reference: CardFieldViewManager
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/flutter/stripe/StripeAndroidPlugin.kt:36:67 Property delegate must have a 'getValue(StripeAndroidPlugin, KProperty<*>)' method. None of the following functions is suitable:
public inline operator fun <T> Lazy<Unit>.getValue(thisRef: Any?, property: KProperty<*>): Unit defined in kotlin
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/flutter/stripe/StripeAndroidPlugin.kt:37:9 Unresolved reference: CardFieldViewManager
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/flutter/stripe/StripeAndroidPlugin.kt:59:67 Cannot access class 'com.reactnativestripesdk.CardFieldViewManager'. Check your module classpath for missing or conflicting dependencies
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/PaymentSheetFragment.kt:21:46 Unresolved reference: AddressSheetView
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/PaymentSheetFragment.kt:85:7 Unresolved reference: AddressSheetView
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:12:46 Unresolved reference: AddressLauncherFragment
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:34:22 Unresolved reference: CardFieldView
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:35:21 Unresolved reference: CardFormView
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:61:7 Unresolved reference: AddressLauncherFragment
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:62:7 Unresolved reference: GooglePayLauncherFragment
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:69:11 Unresolved reference: GooglePayRequestHelper
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:71:15 Unresolved reference: GooglePayRequestHelper
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:132:5 Unresolved reference: AddressLauncherFragment
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:132:29 Variable expected
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:256:19 Unresolved reference: PaymentMethodCreateParamsFactory
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:272:21 Unresolved reference: PaymentMethodCreateParamsException
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:273:23 Overload resolution ambiguity:
internal fun createError(code: String, error: com.stripe.android.model.PaymentIntent.Error?): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, error: com.stripe.android.model.SetupIntent.Error?): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, error: kotlin.Exception /* = java.lang.Exception */): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, message: String?): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, error: Throwable): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:467:19 Unresolved reference: PaymentMethodCreateParamsFactory
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:484:21 Unresolved reference: PaymentMethodCreateParamsException
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:485:23 Overload resolution ambiguity:
internal fun createError(code: String, error: com.stripe.android.model.PaymentIntent.Error?): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, error: com.stripe.android.model.SetupIntent.Error?): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, error: kotlin.Exception /* = java.lang.Exception */): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, message: String?): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, error: Throwable): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:520:19 Unresolved reference: PaymentMethodCreateParamsFactory
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:536:21 Unresolved reference: PaymentMethodCreateParamsException
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:537:23 Overload resolution ambiguity:
internal fun createError(code: String, error: com.stripe.android.model.PaymentIntent.Error?): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, error: com.stripe.android.model.SetupIntent.Error?): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, error: kotlin.Exception /* = java.lang.Exception */): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, message: String?): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
internal fun createError(code: String, error: Throwable): WritableMap defined in com.reactnativestripesdk.utils in file Errors.kt
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:544:20 Unresolved reference: GooglePayPaymentMethodLauncherFragment
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:554:26 Unresolved reference: GooglePayPaymentMethodLauncherFragment
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:574:5 Unresolved reference: GooglePayLauncherFragment
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:575:7 Unresolved reference: it
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:577:30 Unresolved reference: GooglePayLauncherFragment
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:577:77 Unresolved reference: GooglePayLauncherFragment
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:580:11 Cannot infer a type for this parameter. Please specify it explicitly.
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:580:27 Cannot infer a type for this parameter. Please specify it explicitly.
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:627:21 Unresolved reference: GooglePayRequestHelper
e: file:///Users/ldd/.pub-cache/hosted/pub.dev/stripe_android-9.4.0/android/src/main/kotlin/com/reactnativestripesdk/StripeSdkModule.kt:632:7 Unresolved reference: GooglePayRequestHelper
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':stripe_android:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> 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 1m 22s
Exception: Gradle task assembleDebug failed with exit code 1