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

Only safe (?.) or non-null asserted (!!.) #7

Open
hailiangcock opened this issue Oct 16, 2021 · 0 comments
Open

Only safe (?.) or non-null asserted (!!.) #7

hailiangcock opened this issue Oct 16, 2021 · 0 comments

Comments

@hailiangcock
Copy link

e: /Users/name/Library/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_app_upgrade-1.1.0/android/src/main/kotlin/com/flutter/flutter_app_upgrade/FlutterAppUpgradePlugin.kt: (62, 54): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type File?
e: /Users/name/Library/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_app_upgrade-1.1.0/android/src/main/kotlin/com/flutter/flutter_app_upgrade/FlutterAppUpgradePlugin.kt: (127, 20): None of the following functions can be called with the arguments supplied:
@nonnull public open fun setClassName(@nonnull p0: Context, @nonnull p1: String): Intent defined in android.content.Intent
@nonnull public open fun setClassName(@nonnull p0: String, @nonnull p1: String): Intent defined in android.content.Intent

FAILURE: Build failed with an exception.

[✓] Flutter (Channel stable, 2.5.2, on macOS 11.1 20C69 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Connected device (3 available)

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