안녕하세요?
카카오링크를 붙여서 유니티에서 빌드하려고 합니다.
빌드중에 다음과 같은 에러가 발생하는데요,
manifest에 추가한 kakao_app_key문자열을 얻지 못하는 문제인데, 어떻게 처리해야 하나요?
스트링과 그외 클래스는 jar로 익스포트 해서 유니티 플러그인 폴더에 넣었습니다.
답변 부탁드립니다.
stderr[
AndroidManifest.xml:34: error: Error: No resource found that matches the given name (at ‘value’ with value ‘@string/kakao_app_key’).
]
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
/Applications/adt-bundle-mac-x86_64-20140321/sdk/build-tools/android-4.4.2/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S “res” -I “/Applications/adt-bundle-mac-x86_64-20140321/sdk/platforms/android-19/android.jar” -F bin/resources.ap_
stderr[
AndroidManifest.xml:34: error: Error: No resource found that matches the given name (at ‘value’ with value ‘@string/kakao_app_key’).
]
stdout[
Configurations:
(default)
hdpi
ldpi
xhdpi
xxhdpi
Files:
drawable/app_icon.png
Src: () res/drawable/app_icon.png
Src: (hdpi) res/drawable-hdpi/app_icon.png
Src: (ldpi) res/drawable-ldpi/app_icon.png
Src: (xhdpi) res/drawable-xhdpi/app_icon.png
Src: (xxhdpi) res/drawable-xxhdpi/app_icon.png
values/strings.xml
Src: () res/values/strings.xml
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Type drawable
drawable/app_icon.png
Src: () res/drawable/app_icon.png
Src: (hdpi) res/drawable-hdpi/app_icon.png
Src: (ldpi) res/drawable-ldpi/app_icon.png
Src: (xhdpi) res/drawable-xhdpi/app_icon.png
Src: (xxhdpi) res/drawable-xxhdpi/app_icon.png
Type values
values/strings.xml
Src: () res/values/strings.xml
Including resources from package: /Applications/adt-bundle-mac-x86_64-20140321/sdk/platforms/android-19/android.jar
applyFileOverlay for drawable
applyFileOverlay for layout
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/app_icon.png
Processing image: res/drawable-hdpi/app_icon.png
Processing image: res/drawable-ldpi/app_icon.png
Processing image: res/drawable-xhdpi/app_icon.png
(processed image res/drawable/app_icon.png: 97% size of source)
Processing image: res/drawable-xxhdpi/app_icon.png
(processed image res/drawable-hdpi/app_icon.png: 97% size of source)
(processed image res/drawable-ldpi/app_icon.png: 98% size of source)
(processed image res/drawable-xhdpi/app_icon.png: 96% size of source)
(processed image res/drawable-xxhdpi/app_icon.png: 96% size of source)
(new resource id app_icon from drawable/app_icon.png #generated)
(new resource id app_icon from hdpi/drawable/app_icon.png #generated)
(new resource id app_icon from ldpi/drawable/app_icon.png #generated)
(new resource id app_icon from xhdpi/drawable/app_icon.png #generated)
(new resource id app_icon from xxhdpi/drawable/app_icon.png #generated)
]