- Home /
Android Packaging Failure - PLEASE HELP QUICK
I am doing a project for my internship and it is almost done but two videos are causing it to fail due to how large they are. I can't get them any smaller and I need them to be in the app. Any ideas on how to fix it? Also I am using this command to run the videos. https://docs.unity3d.com/ScriptReference/Handheld.PlayFullScreenMovie.html
CommandInvokationFailure: Android Asset Packaging Tool failed.
C:\Users\Jacob\Documents\Android\build-tools\28.0.0-rc2\aapt.exe package -v -f -F raw.ap_ -A raw -0 "" --ignore-assets "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
stderr[
Unable to add 'raw\SchoolHouse.mov': Zip add failed (-2147483648)
ERROR: unable to process assets while packaging 'raw.ap_'
ERROR: packaging of 'raw.ap_' failed
]
stdout[
Found 2 custom asset files in raw
Configurations:
(default)
Files:
assets\PlanoHistory.mov
Src: () raw\PlanoHistory.mov
assets\SchoolHouse.mov
Src: () raw\SchoolHouse.mov
Resource Dirs:
Creating 'raw.ap_'
Writing all files...
'assets/PlanoHistory.mov' (not compressed)
Removing raw.ap_ due to earlier failures
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg)
UnityEditor.Android.PostProcessor.Tasks.AAPTPackage.AAPTPack (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String apkName, System.String directory, Boolean compress)
UnityEditor.Android.PostProcessor.Tasks.AAPTPackage.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Also, I need it to be done today. SO any help would be appreciated.
Where are your large video files stored? under a Resources folder?
Your answer
Follow this Question
Related Questions
Stuck while building for Android - Compiling Resources | Repackages Resources 1 Answer
failed to re package resources facebook sdk 3 Answers
Android package installer icon 0 Answers
Falling Character needs its position reset after swipe 1 Answer
How do I move multiple 3D objects with Android touchscreen? 1 Answer