某些输入文件使用或覆盖已弃用的API警告消息波动

时间:2019-02-28 10:36:51

标签: android dart flutter flutter-dependencies

升级到Flutter 1.2.1和1.2.2之后,我无法在手机上运行我的应用程序。它会安装该应用程序,但该应用程序无法运行。 我在调试和发布模式下尝试过。 我试图降级为1.0.0,但不幸的是,它无济于事。 warning消息是:

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\Mohammad Meshkani\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_webview_plugin-0.3.0+2\android\src\main\java\com\flutter_webview_plugin\WebviewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

我的包裹:

dependencies:
  flutter:
    sdk: flutter
  http: ^0.11.3+13
  shared_preferences: ^0.5.1+1
  flutter_svg: ^0.10.3
  persian_datepicker: ^1.2.1
  flutter_datetime_picker: ^1.1.2
  url_launcher: ^5.0.1
  flutter_generic_oauth: "^1.0.0"

flutter doctor -v

[√] Flutter (Channel unknown, v1.2.2, on Microsoft Windows [Version 10.0.17763.316], locale fa-IR)
    • Flutter version 1.2.2 at C:\Users\Mohammad Meshkani\flutter
    • Framework revision 007a415c2a (6 days ago), 2019-02-21 20:22:47 -0800
    • Engine revision f1f19bba8f
    • Dart version 2.2.0 (build 2.2.0-dev.2.1 c92d5ca288)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at F:\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 32.0.1
    • Dart plugin version 182.5124
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[√] IntelliJ IDEA Community Edition (version 2018.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.1.6
    • Flutter plugin version 33.2.2
    • Dart plugin version 183.5901

[√] VS Code, 64-bit edition (version 1.31.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 2.23.1

[√] Connected device (1 available)
    • 2014817 • 6a2618a97d52 • android-arm • Android 5.1.1 (API 22)

• No issues found!

0 个答案:

没有答案