空洞幸存者免安装绿色中文版
1.38G · 2025-10-13
选中drawable文件夹,右键New --> Vector Asset --> 选中Clip Art ,在这里面可以选择一些矢量图 ,点击Next,然后 Finish即可。
选中drawable文件夹,右键New --> Vector Asset --> 选中Local file ,在这里面选择自己svg路径 ,点击Next,然后 Finish即可。
自己编写代码
gradle文件种按下面配置:
android {
defaultConfig {
...
vectorDrawables.useSupportLibrary = true
}...
dependencies {
...implementation 'com.android.support:appcompat-v7:23.4.0'
}
注意:support:appcompat
必须在23.2