Failed to Re-Package Resources- Unity to Android
So I am working on creating an interactive architectural model for use with Google VR. When I went to build the model with the GoogleVR SDK info dropped in I got this error. I'm not very experienced with Unity, and can't make heads or tails of this error log. Any help would be appreciated.
Update: Just added JAVA_HOME and PATH to the environment variables. No dice.
Update: Just uninstalled API 24 from Android SDK. No dice.
Update: Clean Install of Unity, Java SDK, and Android SDK. Stripped model down to just a cube. No camera. Still failed. Have lost all hope, all is darkness. Darkness and red stop sign errors.
Update: Whelp, in a last ditch effort to solve this problem, I exported to the Android Studio, their error message told me to update to SDK 8, this -predictably- did not solve the problem. This is officially all i can find on google.
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\Carter Hadley\AppData\Local\Android\Sdk\build-tools\24.0.0\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Carter Hadley/AppData/Local/Android/Sdk\platforms\android-24\android.jar" -F bin/resources.ap_ --extra-packages com.google.vr.cardboard:vr.gvr.platform.unity -S "C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res" -S "C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\unitygvractivity\res"
stderr[
]
stdout[
Configurations:
(default)
Files:
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Including resources from package: C:\Users\Carter Hadley\AppData\Local\Android\Sdk\platforms\android-24\android.jar
applyFileOverlay for drawable
trying overlaySet Key=ic_settings_48dp.png
trying overlaySet Key=quantum_ic_arrow_back_white_24.png
trying overlaySet Key=quantum_ic_arrow_downward_white_24.png
trying overlaySet Key=quantum_ic_arrow_upward_white_24.png
trying overlaySet Key=quantum_ic_settings_white_24.png
trying overlaySet Key=rippleable.xml
trying overlaySet Key=transition.png
trying overlaySet Key=app_banner.png
trying overlaySet Key=app_icon.png
applyFileOverlay for layout
trying overlaySet Key=back_button.xml
trying overlaySet Key=transition_view.xml
trying overlaySet Key=ui_layer.xml
trying overlaySet Key=ui_layer_with_portrait_support.xml
applyFileOverlay for anim
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for transition
applyFileOverlay for xml
applyFileOverlay for raw
applyFileOverlay for color
applyFileOverlay for menu
applyFileOverlay for mipmap
Processing image: res\drawable-Prxohcdespsiin\ga ppi_bmaangnee:r .pnrge
s\drawable\app_icon.png
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable\ic_settings_48dp.png
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_back_white_24.png: 154% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_back_white_24.png: 138% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable\ic_settings_48dp.png: 172% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_arrow_back_white_24.png: 129% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_arrow_back_white_24.png: 136% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-mdpi-v17\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-mdpi-v17\quantum_ic_arrow_back_white_24.png: 152% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-hdpi-v17\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_arrow_back_white_24.png: 113% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-xhdpi-v17\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-hdpi-v17\quantum_ic_arrow_back_white_24.png: 140% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-xxhdpi-v17\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-xhdpi-v17\quantum_ic_arrow_back_white_24.png: 122% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-xxxhdpi-v17\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-xxhdpi-v17\quantum_ic_arrow_back_white_24.png: 133% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_downward_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-xxxhdpi-v17\quantum_ic_arrow_back_white_24.png: 109% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_downward_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_downward_white_24.png: 142% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_arrow_downward_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_downward_white_24.png: 146% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_arrow_downward_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_arrow_downward_white_24.png: 147% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_arrow_downward_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_arrow_downward_white_24.png: 135% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_upward_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_arrow_downward_white_24.png: 131% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_upward_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_upward_white_24.png: 130% size of source)
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_upward_white_24.png: 141% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_arrow_upward_white_24.png
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_arrow_upward_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_arrow_upward_white_24.png: 124% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_arrow_upward_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_arrow_upward_white_24.png: 133% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_settings_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_settings_white_24.png: 183% size of source)
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_arrow_upward_white_24.png: 113% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_settings_white_24.png
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_settings_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_settings_white_24.png: 177% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_settings_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_settings_white_24.png: 174% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_settings_white_24.png
(processed image C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_settings_white_24.png: 172% size of source)
Processing image: C:\Users\Carter Hadley\Desktop\Architecture\VR Test\New Unity Project\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\transition.png
(processed image C:\Users\Carter Hadl
]
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.PostProcessAndroidPlayer.Exec (System.String command, System.String args, System.String workingdir, System.String[] progress_strings, Single progress_value, System.String errorMsg)
UnityEditor.Android.PostProcessAndroidPlayer.CompileResources (System.String stagingArea, System.String packageName, UnityEditor.Android.AndroidLibraries androidLibraries)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Answer by Dudicus · Jul 05, 2016 at 02:03 AM
If you're not very experienced try making a game for something else becuase programming for VR is much much harder.
Or you could just get a sample VR Unity project and build your game off of that.
Thanks for the reply, I may take your second peice of advice. However, this is by no means a game. $$anonymous$$y goal is to use Unity to show clients the interior of a building using VR. $$anonymous$$y hope is that I will be able to drop in just a model and the Google SD$$anonymous$$, without any extraneous coding necessary.
Follow this Question
Related Questions
i cant click the test button on my game 0 Answers
BCE0043 unexpected token: ")"? 1 Answer
Default Scene not loading 0 Answers
Error with classes 0 Answers
Physics object go through the mesh on animation play 1 Answer