Search code examples
androidandroid-studiodrawableandroid-vectordrawableandroid-studio-4.1

How I fix NOTHING TO SHOW in my vector asset in android studio


enter image description here

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.


Solution

  • Those clip arts are located in "icons" folder inside your sdk folder on your hard drive and the sdk folder is generally this:

    C:\Users\ --username-- \AppData\Local\Android\Sdk

    I guess android studio cannot access the right sdk location so make sure the sdk location in your "File/Project Structure/SDK Location" matches the actual sdk location on your hard drive.

    Alternatively, you can download the clip art you need from this link: Android Material and import them by choosing Local file in your Asset Studio.