flutter - 如何解决 Android SDK 仅包含许可证
问题描述
] Android 工具链 - 为 Android 设备开发!Android SDK 仅包含许可证。您第一次构建 Android 应用程序需要比平时更长的时间,而 gradle 会下载缺少的组件。此功能仅在 ANDROID_HOME 中的 licenses 文件夹中的许可证有效时才有效。如果 Android SDK 已安装到其他位置,请将 ANDROID_HOME 设置为该位置。您可能还想将它添加到 PATH 环境变量中。
Certain features, such as `flutter emulators` and `flutter devices`, will not work without the currently missing
SDK components.
解决方案
推荐阅读
- arrays - 如何将地图存储到 Firestore 数组
- ios - Rest API 应该只添加新记录,或者应该通过删除来更新记录
- json - 使用 curl 将团队添加到存储库的正确方法
- batch-processing - 我们可以对批处理进行窗口化吗?
- clang-static-analyzer - 如何匹配指向空对象的指针?
- javascript - 使用 javaScript 循环对象数组的最佳方法是什么?
- python - 使用 == 符号时的 if 和语句混淆
- amazon-web-services - 如何解决 AWS 爬虫在双引号内拆分逗号并破坏数据目录的问题?
- node.js - 为什么我的表单数据在 Node.js/Express 中被截断?
- json - 如何通过 dio 编码并发送到服务器 json 列表