i have a project, and i want to add vector drawable, but the option not showing in File>New, there is no option for add vector drawable.
im using Android Studio v2021.1.1 Patch 2 ( Bumblebee )
i tried searching on google but nothing, no one asking about this problem
CodePudding user response:
here is the option i find in New>File
CodePudding user response:
To Add vector, Right Click on "res" dir -> "New" -> "Vector Asset"
CodePudding user response:
- Open the
Android
from the project files list. On the top, you are currently onProject
view. Click it and change it to android. - Right click on the drawable folder.
- There you will find that option.
If you don't find that option, this website can be used to download the svg files which are in other words called Vector in android.
CodePudding user response:
res -> right click on drawable -> New -> Vector Asset