By Blahblah
on Wed, 06/20/2012 - 17:09
Hello,
I'm having this error (detailed below) when trying to build from Unity for Android.
[QUOTE]Resource re-package Failed!
package -v -f -m -J gen -M AndroidManifest.xml -S "res" -I
"C:/Development/Android/android-sdk-windows/platforms/android-10\android.jar" -F bin/resources.ap_
Configurations:
(default)
hdpi
Files:
drawable\app_icon.png
Src: () res\drawable\app_icon.png
Src: (hdpi) res\drawable-hdpi\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
Type values
values\strings.xml
Src: () res\values\strings.xml
Including resources from package: C:\Development\Android\android-sdk-windows\platforms\android-10\android.jar
applyFileOverlay for drawable
applyFileOverlay for layout
applyFileOverlay for anim
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for xml
applyFileOverlay for raw
applyFileOverlay for color
applyFileOverlay for menu
applyFileOverlay for mipmap
Processing image: res\drawable\app_icon.png
(processed image res\drawable\app_icon.png: 96% size of source)
Processing image: res\drawable-hdpi\app_icon.png
(processed image res\drawable-hdpi\app_icon.png: 97% 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)
AndroidManifest.xml:13: error: Error: String types not allowed (at 'configChanges' with value 'fontScale|keyboard|
keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|
touchscreen').
AndroidManifest.xml:19: error: Error: String types not allowed (at 'configChanges' with value 'fontScale|keyboard|
keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|
touchscreen').
AndroidManifest.xml:21: error: Error: String types not allowed (at 'configChanges' with value 'fontScale|keyboard|
keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|
touchscreen').
AndroidManifest.xml:25: error: Error: String types not allowed (at 'configChanges' with value 'fontScale|keyboard|
keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|
touchscreen').
UnityEngine.Debug:LogError(Object)
PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String,
String, String, BuildOptions) (at
C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:210)
UnityEditor.HostView:OnGUI()[/QUOTE]
I have the teapot example working via eclipse, but I can't get anything to work directly from Unity.
I'm using windows7, and QCAR version 1.5
I have Android SDK downloaded for 2.3.3, but do I need that - maybe I should only have SDK for 2.2 installed?
Any help much appreciated.
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!
Re: Resource re-package Failed!