노력과 삽질 퇴적물

에러: Failed to re-package resources. 본문

📂게임개발 note/에러&버그

에러: Failed to re-package resources.

MTG 2016. 10. 4. 17:58


CommandInvokationFailure: Failed to re-package resources.

D:\dev_lib\android_sdk_windows\build-tools\24.0.1\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "D:/dev_lib/android_sdk_windows\platforms\android-24\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.google.android.gms:com.google.unity:com.google.example.games.mainlibproj:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.clearcut:com.google.android.gms.gass:com.google.android.gms.tasks:android.support.v4:com.analoggreen.subway_clicker -S


* (sdk폴더)\extras\google\google_play_services내 libproject 폴더가 없을 경우입니다.


> 윈도우10 64bit

> Unity 5.4.x

> Google Mobile Ads Unity Plugin v3.0.4






해법.


1) SDK Manager

Android SDK Build-tools 24.x.x삭제
Android SDK Build-tools 23.x.x설치


2) 플러그인 삭제

(프로젝트 폴더)\Assets\Plugins\Android


3) 패키지 import

Google Mobile Ads Unity Plugin v3.0.4.unitypackage등을 다시 세팅합니다.






참조자료.


Failed to re-package resources. - Unity Answers






기타. 변경이력


일자

변경이력

2016-10-04

 초안