问题
"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