I tried to update my Unity version from 2017.1.1 to 2018.2.13 for my old project today. While trying to build the Android apk, I encountered this error: Code (CSharp): CommandInvokationFailure: Gradle build failed. C:/Program Files/Java/jdk1.8.0_191\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2018.2.13f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleDebug" stderr[ FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':appcompat:packageDebugResources'. > There were multiple failures while executing work items > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_paste_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_copy_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_share_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_copy_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_paste_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_ab_back_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_ab_back_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_share_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_cut_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_ab_back_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_voice_search_api_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_clear_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_go_search_api_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_voice_search_api_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_clear_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_cut_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_overflow_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_ab_back_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_ab_back_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_voice_search_api_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_paste_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_voice_search_api_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_selectall_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_selectall_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_selectall_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_clear_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_paste_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_share_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_copy_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_go_search_api_material.xml : Can't process attribute android:fillColor="@android:color/white": 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. > A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction > Error while processing C:\Users\3Circles\Documents\Unity\CirclAppSourceCode Security new version\Temp\gradleOut\appcompat\res\drawable\abc_ic_menu_cut_material.xml : Can't process attribute android:fillColor="@android:color/white": references to other resources are not su<message truncated> By looking at the error messages, it looks like the problem was from a line which is android:fillColor="@android:color/white" from multiple xml files in the gradleOut folder. However, since the gradleOut folder was generated by Unity itself when I built the apk, how do I fix it? Is it a bug of Unity? Or are my JDK, SDK or NDK not in correct versions?