Android JetPack中缺少材料图标构成

发布于 2025-01-23 02:12:40 字数 291 浏览 2 评论 0原文

实现“ androidx.compose.material:材料 - icons--扩展:$ copsose_version”在我的build> build.graddle.graddle文件中包含最新稳定的compose(1.1.1) )。

但是,我无法参考任何网络wifixbar图标(例如networkwifi1bar),如

我知道所有图标都包含在材料 - icons-exted中。

这是我目的的问题,还是不包括这些问题?

implementation "androidx.compose.material:material-icons-extended:$compose_version" is included on my build.graddle file with the latest stable realease of Compose (1.1.1).

However, I am unable to reference any of the NetworkWifiXBar icons (e.g. NetworkWifi1Bar ) as seen here.

I had the understanding that all icons were included with material-icons-extended.

Is this an issue on my end or are these not included?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

近箐 2025-01-30 02:12:40

您可以使用以下 组成材料依赖项 更新于2024年7月24日:

稳定版本:

实现”

1.6.8“ rel =“ noreferrer

” a href =“ https://developer.android.com/jetpack/androidx/releases/compose-material-1.7.0-beta06” rel =“ noreferrer”> a - 扩展:1.7.0-Beta06“

无法言说的痛 2025-01-30 02:12:40

我不得不使用此工件(请注意,这是特定于Android的)

implementation("androidx.compose.material:material-icons-extended-android:1.7.5")

I had to use this artifact (notice this is Android Specific)

implementation("androidx.compose.material:material-icons-extended-android:1.7.5")
横笛休吹塞上声 2025-01-30 02:12:40

您需要包括依赖项实现“ androidx.compose.material:材料 - icons--扩展:xxx”,如果此后您仍然只找到此图标的空列表
您只需要给索引图标的Android Studio提供更多时间 - 等一下dot或开始键入一些图标名称

You need to include dependency implementation "androidx.compose.material:material-icons-extended:x.x.x" and if after that you still find only this empty list of icons
you just need give more time to Android Studio for indexing icons - wait more after place dot or start typing some icon name

野味少女 2025-01-30 02:12:40

问题是Android Studio仍在异型地加载图标
如果您在SDK/图标中cek,图标仍在推动INI进度,

如果我们打开“创建向量资产”窗口并且不要关闭它,我们将看到它
直到加载IND图标文件夹的图标完成

,请保留此窗口的打开,直到加载SDK/图标中的图标数据

The issue is the android studio still loading the icons asyncronously
if you cek in SDK/icons that icon still pushing ini progress

that we will saw if we open create vector asset window and don't close it
till the icons loading ind icons folder finished

so keep this window's opened until the icon data in SDK/icons are loaded

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文