Hello community. I have investigated about this but could not find an answer. I have lost a lot of working time because of this. Please help.
When I try to build for web I get this:
Error building Player: LZMA Compression failed
When I try to build for android I get this:
Failed to re-package resources with the following parameters:
package -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Irving/Desktop/android-sdk_r18-windows/android-sdk-windows/platforms/android-15\android.jar" -F bin/resources.ap_
Configurations:
(default)
Files:
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Including resources from package: C:\Users\Irving\Desktop\android-sdk_r18-windows\android-sdk-windows\platforms\android-15\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
AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/app_icon').
AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name').
AndroidManifest.xml:5: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name').
AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name').
AndroidManifest.xml:13: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name').
AndroidManifest.xml:17: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name').
UnityEngine.Debug:LogError(Object)
PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions) (at C:/BuildAgent/work/14194e8ce88cdf47/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:300)
UnityEditor.HostView:OnGUI()
Things I did before this started happening:
- Installed Unity 4 replacing 3.
- Installed Unity 3.0.0 in another folder.
- Had Unity 3.5.5 project backup that I later moved into my repository.
- Installed Unity 3.5.6 over 3.0.0. (The problem started here).
- Removed Unity 3.5.6 . Installed 3.5.5
- Changed a Texture size to 480 x 320
I’ve tried:
- Restarting computer.
- Unity reinstall.
- Moving project folder.
- Building in a different folder (an empty one).
- Changing C# 2.0 subset to 2.0
- Changing the app icon.
- Changing minimum API Level.
Nothing works. Does anyone know how to fix this?
Thanks in advance.