Google Cardboard 用の必要最小限のアプリをビルドしようとしていますが、ビルドを成功させることができません。このアプリは特別なものではなく、ただの地形、球体、GvrMain プレハブ、およびレチクルです。Unityプレーヤーでは問題なく動作します。ビルドの途中で次のエラーが発生します。
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\natha\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/natha/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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res" -S "C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\unitygvractivity\res"
stderr[
]
stdout[
Configurations:
(default)
Files:
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Including resources from package: C:\Users\natha\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-xhdpi\app_banner.png
Processing image: res\drawable\app_icon.png
Processing image: C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable\ic_settings_48dp.png
Processing image: C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable\ic_settings_48dp.png: 172% size of source)
Processing image: C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-mdpi-v17\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-mdpi-v17\quantum_ic_arrow_back_white_24.png: 152% size of source)
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-hdpi-v17\quantum_ic_arrow_back_white_24.png
Processing image: C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-xhdpi-v17\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-xxhdpi-v17\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-ldrtl-xxxhdpi-v17\quantum_ic_arrow_back_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_downward_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_downward_white_24.png: 146% size of source)
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_downward_white_24.png
Processing image: C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_arrow_downward_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_arrow_downward_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_arrow_downward_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_upward_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_arrow_upward_white_24.png: 130% size of source)
Processing image: C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_upward_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\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\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_arrow_upward_white_24.png
(processed image C:\Users\natha\OneDrive\Documents\MyProject\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_arrow_upward_white_24.png: 141% size of source)
Processing imag
]
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.HostView:OnGUI()