Unity Gradle Build Error - Resource Not Found
I recently added the FireBase package to my Unity project and when trying to build I am getting gradle build errors regarding resource styles not being found.
I am targeting API 25 and I have APis 20-29 installed. I'm aware the Unity Documentation mentions modifying the Android Manifest, however I cannot locate one in my project folder.
I have opened the file is is referring to:
[...]\.gradle\caches\transforms-2\files-2.1\2cc7523de400353da8957f35d3d3eebd\res\values\values.xml
and the two line numbers mentioned are:
86: <declare-styleable name="GradientColor">
126: <declare-styleable name="GradientColorItem">
There are two additional errors also presented:
Found corrupted package.xml at [...]\AppData\Local\Android\Sdk\add-ons\addon-google_apis-google-24\package.xml
Invalid package.xml found at [...]\AppData\Local\Android\Sdk\add-ons\addon-google_apis-google-24\package.xml and failed to parse using fallback.
Your answer
Follow this Question
Related Questions
Failed to re-package resources 0 Answers
Problem with building on Android 0 Answers
Can't Build with IL2CPP for Android after 2018.3.0 Update(Empty Project) 1 Answer
Unity says that I'm missing my NDK and SDK libraries, but I have them installed via Unity hub? 1 Answer
Failed Running UnityLinker.exe and UnityLinker.exe did not run properly! 0 Answers