- Home /
Question by
mauri11 · Feb 17, 2020 at 06:10 AM ·
android buildbuild error
Android Build Failure - Failed to recompile android resource files.
Im working on a really old project back in Unity 5.2.0. My JDK (jdk-13.0.2) for some reason is not working. Im using a Samsung S9 Plus. Could using a newer phone be an issue since the "Minimum API Level" in the PlayerSettings only goes up to Android 5.1 'Lolipop'?
Anyways im pretty sure my SDK and JKD path is correct...
This is the errors i get on my console.
CommandInvokationFailure: Failed to recompile android resource files. See the Console for details.
E:/Program Files/Java/jdk-13.0.2\bin\javac.exe -bootclasspath `enter code here`"C:\Users\Mauricio\AppData\Local\Android\Sdk\platforms\android-29\android.jar" -d "C:\Users\Mauricio\Documents\TeddinatorREPO\Teddinator\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "com\DiazINC\Teddinator\R.java" "com\unity3d\ads\android\R.java"
And
Error building Player: CommandInvokationFailure: Failed to recompile android resource files. See the Console for details.
E:/Program Files/Java/jdk-13.0.2\bin\javac.exe -bootclasspath "C:\Users\Mauricio\AppData\Local\Android\Sdk\platforms\android-29\android.jar" -d "C:\Users\Mauricio\Documents\TeddinatorREPO\Teddinator\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "com\DiazINC\Teddinator\R.java" "com\unity3d\ads\android\R.java"
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612223457im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unable to list target platforms. When I try to build to Andriod on Mac 5 Answers
Android build fails for project with large array of data 1 Answer
Android build gradle failed 1 Answer
Can a project tiny app be built for android? 1 Answer
UnityEditor.BuildPlayerWindow+BuildMethodException - Anyone guide to solve this ERROR please??? 0 Answers