- Home /
resource repackage failed andriod
Every Time i try to build my simple andriod game I get these two errors
Available Android targets:
id: 1 or "android-3" Name: Android 1.5 Type: Platform API level: 3 Revision: 4 Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P id: 2 or "android-4" Name: Android 1.6 Type: Platform API level: 4 Revision: 3 Skins: HVGA, QVGA, WVGA800 (default), WVGA854 id: 3 or "android-7" Name: Android 2.1-update1 Type: Platform API level: 7 Revision: 2 Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854 id: 4 or "android-8" Name: Android 2.2 Type: Platform API level: 8 Revision: 2 Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
UnityEngine.Debug:LogError(Object) PostProcessAndroidPlayer:GetAndroidPlatform(String, String) (at C:/BuildAgent/work/f724c1acfee760b6/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:734) PostProcessAndroidPlayer:PrepareToolPaths(String) (at C:/BuildAgent/work/f724c1acfee760b6/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:27) PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions) (at C:/BuildAgent/work/f724c1acfee760b6/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:127) UnityEditor.HostView:OnGUI()
and the second
Resource re-package Failed!
package -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "android.jar" -F bin/resources.ap_ Locale/Vendor pairs: /
Files: drawable\app_icon.png Src: res\drawable\app_icon.png values\strings.xml Src: res\values\strings.xml AndroidManifest.xml Src: AndroidManifest.xml Including resources from package: android.jar W/asset ( 6500): Asset path android.jar is neither a directory nor file (type=1). ERROR: Asset package include 'android.jar' not found.
UnityEngine.Debug:LogError(Object) PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions) (at C:/BuildAgent/work/f724c1acfee760b6/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:205) UnityEditor.HostView:OnGUI()
I Have unity 3.2 and I am trying to build andriod 2.2
Your answer
Follow this Question
Related Questions
Android freeze on load (black screen with title) 0 Answers
Why are my OnTriggerEnter2D events firing only on android in a situation they shouldnt be firing? 0 Answers
Unity 2019.2 lwrp brightness problem 0 Answers
is this a shadow bug (unity 4.2 android) 1 Answer
Connect Andorid Phone and get error 1 Answer