Bri*_*nik 5 java debugging android android-studio flutter
我有一个颤振项目,我想在 android studio 中构建它。我在终端中使用此命令构建它:
flutter build apk --release
我收到此错误报告:
Note: C:\Users\Jovik\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.5.1\android\src\main\java\io\flutter\plugins\pathprovider\PathProviderPlugin.java uses or overrides
a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
C:\Users\Jovik\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.6\android\src\main\java\io\flutter\plugins\sharedpreferences\SharedPreferencesPlugin.java:25: warn
ing: [deprecation] getFlutterEngine() in FlutterPluginBinding has been deprecated
setupChannel(binding.getFlutterEngine().getDartExecutor(), binding.getApplicationContext());
Run Code Online (Sandbox Code Playgroud)
我不是 Flutter 开发人员,所以我对这些技术没有特别的了解。我已经升级了flutter并且flutter医生没有发现任何错误是什么问题?你也能帮帮我吗?就我做错了什么给出建议。
这是带有 flutter 的 shared_preferences 插件的一个已知问题。此问题已在大约20 天前解决。确保您使用的是最新版本的shared_preferences (0.5.6+3) 并更新以在您的 pubspec.yaml 中反映这一点。
| 归档时间: |
|
| 查看次数: |
10110 次 |
| 最近记录: |