“Nothing to show” when I tried to insert a new Vector Asset in Android Studio

点点圈 提交于 2020-11-24 17:57:12

问题


"Nothing to show" error - vector asset

Hey, all. So, recently I updated my Android Studio Version to 4.1 (the latest version). I wanted to add a vector asset just like the usual but..somehow..the preview of the icons did not show up. I can't choose a vector asset or even add one. Is there any way to fix this? Or maybe, a way to downgrade the version? Thank you so much :(


回答1:


This problem seems to be originated with the Android Studio Windows version 4.1. I have the same exact problem and I went back to version 4.0.1. With the previous version Asset Studio clip art works fine. It also works fine the Android Studio version 4.1 for mac OS.

Update:

I found out why it isn't displaying the icons. For some reason when the Windows user name's folder has a space, it can't load the images and it only shows the message "Nothing to show". I had to change the folder name and eliminate the space in order to make it work.




回答2:


I'm faced with the same issue, I fixed this issue by moving Android folder from
C:\Users\User Name\AppData\Local
to any different folder (C:\Users) and in Android Studio Goto File -> Project Structure... and in SDK Location set new SDK location.



来源:https://stackoverflow.com/questions/64429556/nothing-to-show-when-i-tried-to-insert-a-new-vector-asset-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!