• [ⓐ 내 게임 만들기!!] 유니티 안드로이드 빌드 아직 안됩니다.. 도와주세요 ㅠㅠ2016.12.27 AM 05:14

게시물 주소 FONT글자 작게하기 글자 키우기

아까 질문 올렸던 개발자지망 대학생입니다..orz

 

http://mypi.ruliweb.com/mypi.htm?nid=1139544&num=16495

아까 질문드렸던 건 xml파일을 메모장으로 건드려서 잘 해결이 되었는데요

진행바가 쭉 가서 진행이 잘 되나 싶었는데 망할 리소스 리패키지가 실패했다고 뜨네요...

 

이번에는 오류가 너무 길어서 다 스샷으로 다 담을 수도 없었습니다...

 

매우 급한 과제인데, 도와주셔서 빌드가 잘 되면 직접 소정의 보답을 해드리겠습니다

제발 불쌍한 이 중생을 구제해주세요... 정말 죄송합니다 ㅠㅠ

 

 

CommandInvokationFailure: Failed to re-package resources.

C:\android-sdk\sdk\build-tools\24.0.1\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/android-sdk/sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages com.google.gvr.permissionsupport:com.google.vr.cardboard:vr.gvr.platform.unity -S "C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr-permissionsupport-release\res" -S "C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res" -S "C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\unitygvractivity\res"


stderr[

AndroidManifest.xml:30: error: No resource identifier found for attribute 'enableVrMode' in package 'android'


]

stdout[

Configurations:

 (default)


Files:

  AndroidManifest.xml

    Src: () AndroidManifest.xml


Resource Dirs:

Including resources from package: C:\android-sdk\sdk\platforms\android-23\android.jar

applyFileOverlay for drawable

trying overlaySet Key=quantum_ic_close_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=settings_button.xml

trying overlaySet Key=transition_view.xml

trying overlaySet Key=ui_layer.xml

trying overlaySet Key=ui_layer_with_portrait_support.xml

trying overlaySet Key=dialog.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-mdpi\app_icon.png

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_close_white_24.png

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_close_white_24.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_close_white_24.png: 134% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_close_white_24.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_close_white_24.png: 126% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_close_white_24.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_close_white_24.png: 117% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_close_white_24.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_close_white_24.png: 113% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_settings_white_24.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\quantum_ic_settings_white_24.png: 183% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_settings_white_24.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_close_white_24.png: 107% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_settings_white_24.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\quantum_ic_settings_white_24.png: 177% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_settings_white_24.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xhdpi-v4\quantum_ic_settings_white_24.png: 174% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_settings_white_24.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxhdpi-v4\quantum_ic_settings_white_24.png: 172% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\transition.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-xxxhdpi-v4\quantum_ic_settings_white_24.png: 164% size of source)

Processing image: C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\transition.png

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-mdpi-v4\transition.png: 69% size of source)

    (processed image res\drawable-mdpi\app_icon.png: 90% size of source)

    (processed image res\drawable-xhdpi\app_banner.png: 93% size of source)

    (processed image C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-hdpi-v4\transition.png: 64% size of source)

    (new resource id app_banner from xhdpi-v4\drawable\app_banner.png #generated)

    (new resource id app_icon from mdpi-v4\drawable\app_icon.png #generated)

    (new resource id quantum_ic_close_white_24 from mdpi-v4\drawable\quantum_ic_close_white_24.png #generated)

    (new resource id quantum_ic_close_white_24 from hdpi-v4\drawable\quantum_ic_close_white_24.png #generated)

    (new resource id quantum_ic_close_white_24 from xhdpi-v4\drawable\quantum_ic_close_white_24.png #generated)

    (new resource id quantum_ic_close_white_24 from xxhdpi-v4\drawable\quantum_ic_close_white_24.png #generated)

    (new resource id quantum_ic_close_white_24 from xxxhdpi-v4\drawable\quantum_ic_close_white_24.png #generated)

    (new resource id quantum_ic_settings_white_24 from mdpi-v4\drawable\quantum_ic_settings_white_24.png #generated)

    (new resource id quantum_ic_settings_white_24 from hdpi-v4\drawable\quantum_ic_settings_white_24.png #generated)

    (new resource id quantum_ic_settings_white_24 from xhdpi-v4\drawable\quantum_ic_settings_white_24.png #generated)

    (new resource id quantum_ic_settings_white_24 from xxhdpi-v4\drawable\quantum_ic_settings_white_24.png #generated)

    (new resource id quantum_ic_settings_white_24 from xxxhdpi-v4\drawable\quantum_ic_settings_white_24.png #generated)

    (new resource id rippleable from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable\rippleable.xml)

    (new resource id rippleable from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\drawable-v21\rippleable.xml)

    (new resource id transition from mdpi-v4\drawable\transition.png #generated)

    (new resource id transition from hdpi-v4\drawable\transition.png #generated)

    (new resource id back_button from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout\back_button.xml)

    (new resource id back_button from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout-land\back_button.xml)

    (new resource id back_button from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout-ldrtl-v17\back_button.xml)

    (new resource id back_button from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout-ldrtl-land-v17\back_button.xml)

    (new resource id dialog from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr-permissionsupport-release\res\layout\dialog.xml)

    (new resource id settings_button from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout\settings_button.xml)

    (new resource id settings_button from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout-land\settings_button.xml)

    (new resource id settings_button from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout-ldrtl-v17\settings_button.xml)

    (new resource id settings_button from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout-ldrtl-land-v17\settings_button.xml)

    (new resource id transition_view from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout\transition_view.xml)

    (new resource id ui_layer from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout\ui_layer.xml)

    (new resource id ui_layer_with_portrait_support from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout\ui_layer_with_portrait_support.xml)

    (new resource id ui_layer_with_portrait_support from C:\Unity Project\Goguryo\GangSeo\Temp\StagingArea\android-libraries\gvr_android_common\res\layout-land\ui_layer_with_portrait_support.xml)

]

exit code: 1

UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)

UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg, Int32 retriesOnFailure)

UnityEditor.HostView:OnGUI()


댓글 : 3 개
유니티는 전문 분야가 아니지만.. 에러 메세지를 기준으로 의견드리면 안드로이드 sdk 버전을 24로 올려주세요. vr은 sdk 24(누가)부터 지원합니다. 빌드를 23으로 하시는듯..
감사합니다 ㅠㅠ 어떻게 새컴퓨터에서 빌드하는걸로 해결되었습니다...
새컴퓨터에 최신 SDK만 설치하니까 바로 되네요... 아닌 밤중에 소란을 피워서 죄송합니다 ㅜㅜ
친구글 비밀글 댓글 쓰기

user error : Error. B.