简体   繁体   English

是什么导致“注意:使用 -Xlint:deprecation 重新编译以获取详细信息”。 颤振中的错误?

[英]What causes "Note: Recompile with -Xlint:deprecation for details." error in Flutter?

Nowadays I am seeing this error while flutter run or flutter build commands.现在我在flutter runflutter build命令时看到了这个错误。 Anyone knows what causes it?有谁知道是什么原因造成的? Is it something serious?有什么严重的事情吗?

Note: C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.6.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: C:\flutter\.pub-cache\hosted\pub.dartlang.org\permission_handler-4.2.0+hotfix.3\android\src\main\java\com\baseflow\permissionhandler\PermissionHandlerPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\flutter\.pub-cache\hosted\pub.dartlang.org\share-0.6.3+6\android\src\main\java\io\flutter\plugins\share\SharePlugin.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: C:\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-0.10.8+1\android\src\main\java\io\flutter\plugins\videoplayer\VideoPlayerPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

您正在使用的包,它覆盖了一个标记为已弃用的方法,这就是导致该警告的原因,它并不可怕,但您应该注意

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Flutter CloudFirestorePlugin.java 使用未经检查或不安全的操作。 注意:使用 -Xlint:unchecked 重新编译以了解详细信息 - Flutter CloudFirestorePlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details 任务 ':app:checkDebugDuplicateClasses' 执行失败,使用 -Xlint:deprecation 重新编译以获取详细信息 - Execution failed for task ':app:checkDebugDuplicateClasses', Recompile with -Xlint:deprecation for details 注意:使用 -Xlint:deprecation 重新编译。 注意:一些输入文件使用或覆盖已弃用的 API - Note: Recompile with -Xlint:deprecation. Note: Some input files use or override a deprecated API 如何在 Android Studio 上执行“使用 -Xlint 重新编译:未选中详细信息”? - How can I do “Recompile with -Xlint:unchecked for details” on Android Studio? 任务 ':app:compileReleaseJavaWithJavac' 的执行失败。 编译失败; 有关详细信息,请参阅编译器错误输出。 在 Flutter 构建中 - Execution failed for task ':app:compileReleaseJavaWithJavac'. Compilation failed; see the compiler error output for details. in Flutter build audio_service 插件颤动中的弃用错误 - Deprecation error in audio_service plugin flutter 如何修复此DetailedApiRequestError(状态:404,消息:没有错误详细信息。HTTP 状态为:404。) - How can I fix this DetailedApiRequestError(status: 404, message: No error details. HTTP status was: 404.) [错误:无法加载资产:flutter 中的资产/音频/note1.wav - [ERROR: Unable to load asset: assets/audios/note1.wav in flutter Flutter - 错误消息中只有很少的细节 - Flutter - only few details in error messages 是什么原因导致“权限被拒绝” - 使用FIREBASE和FLUTTER消息 - what causes “permission denied”-message with FIREBASE and FLUTTER
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM