如何在Android Studio中修复我的矢量资产中没有显示的内容 [英] How I fix NOTHING TO SHOW in my vector asset in android studio
问题描述
我想添加新的矢量资产。我试图添加一个剪贴画,但它仅在对话框无显示中显示。没有显示图标,我想添加一个图标。我不知道要解决此问题。请帮忙。我仍在尝试学习android studio,并且正在练习如何使用它。
这是在最新版本的Android Studio 4.1。
当Windows用户名文件夹包含空格时,会发生这种情况。重命名您的用户名文件夹,以删除该空格,它将再次起作用。
由于某些原因,该空格使图标所在的文件夹在Android Studio中不可见。 $ b
I want to add a new vector asset. I am trying to add a clipArt but it only shows in the dialog box "Nothing to show". No icon is showing and I want to add an icon. I don't know to fix this. Please help. I am still trying to learn android studio and I am practicing on how to use it.
This a new problem introduced in the latest version of Android Studio 4.1. This happens when your windows user name folder contains a space. Rename your user name’s folder removing the space and it will work again.
For some reason the space make the folder where the icons are located not visible to Android Studio.
这篇关于如何在Android Studio中修复我的矢量资产中没有显示的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!