图标没有出现(Android Studio 4.1)

时间:2020-10-16 21:28:31

标签: android android-studio

我正在尝试添加新资产,但是我的Android Studio没有显示我的标准图标库,这可能是错误的吗?如何解决?

enter image description here

谢谢

1 个答案:

答案 0 :(得分:0)

   android {
             defaultConfig {
             vectorDrawables.useSupportLibrary = true
           }
           }

  dependencies {
             compile 'com.android.support:appcompat-v7:23.2.0'
           }

将它们添加到您的app.gradle中并进行同步