Error:Execution failed for task ':App:mergeDebugResources'.
> There were multiple failures while executing work items
> A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction
> Error while processing /media/nikhilesh/App/src/main/res/drawable/ic_add_black_24dp.xml : Can't process attribute android:fillColor="@color/green": references to other resources are not supported by build-time PNG generation. See http://developer.android.com/tools/help/vector-asset-studio.html for details.
Bunu nasıl çözebiliriz?Android Studio'ya güncelleyin ve bu konuyu alın
defaultConfig{
vectorDrawables.useSupportLibrary = true
}
Düzenleme:
proje ve rebuildit temizleme deneyin:Sadece uygulama build.gradle ait varsayılan yapılandırma içine aşağıdaki satırı eklemeniz gerekir –