GithubHelp home page GithubHelp logo

laomengflutter / flutter-app-upgrade Goto Github PK

View Code? Open in Web Editor NEW
47.0 2.0 28.0 129 KB

flutter app upgrade plugin

License: Other

Kotlin 15.28% Java 1.14% Ruby 9.39% Swift 4.39% Objective-C 1.67% Dart 68.13%
flutter upgrade update

flutter-app-upgrade's People

Contributors

laomengflutter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flutter-app-upgrade's Issues

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

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)

请问下这是什么原因启动不成功

e: D:\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: D:\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.

  • What went wrong:
    Execution failed for task ':flutter_app_upgrade:compileDebugKotlin'.

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 16s
Exception: Gradle task assembleDebug failed with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.