flutter-app-upgrade icon indicating copy to clipboard operation
flutter-app-upgrade copied to clipboard

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

Open hailiangcock opened this issue 3 years ago • 0 comments

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)

hailiangcock avatar Oct 16 '21 15:10 hailiangcock