Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter run failed after upgrade #493

Open
taosimple opened this issue Oct 30, 2024 · 0 comments
Open

Flutter run failed after upgrade #493

taosimple opened this issue Oct 30, 2024 · 0 comments

Comments

@taosimple
Copy link

Version of flutter_inapp_purchase

flutter_inapp_purchase: ^5.6.1

Platforms you faced the error (IOS or Android or both?)

Android

Actual behavior

e: /Users/taotao/.pub-cache/hosted/pub.flutter-io.cn/flutter_inapp_purchase-5.6.1/android/src/main/kotlin/com/dooboolab/flutterinapppurchase/FlutterInappPurchasePlugin.kt: (10, 48): Unresolved reference: Registrar
e: /Users/taotao/.pub-cache/hosted/pub.flutter-io.cn/flutter_inapp_purchase-5.6.1/android/src/main/kotlin/com/dooboolab/flutterinapppurchase/FlutterInappPurchasePlugin.kt: (100, 37): Unresolved reference: Registrar

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_inapp_purchase: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 7s
Error: Gradle task assembleDebug failed with exit code 1

flutter doctor -v

[✓] Flutter (Channel master, 3.27.0-1.0.pre.299, on macOS 14.6.1 23G93 darwin-arm64 (Rosetta), locale en-US)
• Flutter version 3.27.0-1.0.pre.299 on channel master at /Users/taotao/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f9c130abf0 (2 hours ago), 2024-10-30 13:46:24 +0800
• Engine revision 999797a2f6
• Dart version 3.7.0 (build 3.7.0-78.0.dev)
• DevTools version 2.40.1
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/taotao/Library/Android/sdk
• Platform android-35, build-tools 34.0.0
• ANDROID_HOME = /Users/taotao/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant