Trying to build with Android, I get this error:
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\Maximilian\AppData\Local\Android\sdk\build-tools\24.0.0-preview\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Maximilian/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages com.oculus.Integration -S "C:\Users\Public\Documents\Unity Projects\New Unity Project\Temp\StagingArea\android-libraries\ovrplugin\res"
stderr[
]
stdout[
]
I started a completely new clean project - same error. So must be a problem in my fundamental setting. I checked the other documentation, and tried the following, which did not work
- deleting the AndroidManifest.xml (hinted at in the error message) does not work, it keeps reappearing upon building
- setting up environment variables to install directory of JDK
- Updated JDK to 1.8.xxxx
I followed a Unity 4 tutorial to set things up, maybe I moved or installed something that confuses Unity 5 now.
Thanks a lot!