我正在制作一个Android虚拟游览应用程序。 在我的项目中,我有很多4k视频,但问题是,当我补充我发现这个错误:
"Android Asset Packaging tool filded"
CommandInvokationFailure: Android Asset Packaging Tool failed.
C:\Users\Ale\AppData\Local\Android\Sdk\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[
ERROR: Zip flush failed, archive may be hosed
ERROR: packaging of 'raw.ap_' failed
]
stdout[
Found 1 custom asset file in raw
Configurations:
(default)
Files:
assets\bin\Data\sharedassets0.resource
Src: () raw\bin\Data\sharedassets0.resource
Resource Dirs:
Creating 'raw.ap_'
Writing all files...
'assets/bin/Data/sharedassets0.resource' (not compressed)
Generated 1 file
Included 0 files from jar/zip files.
Checking for deleted files
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)
我该如何解决这个问题? 我无法优化视频或删除其中的一部分...... 该应用程序只会在展会上由我使用,所以我不关心它的最终重量。
感谢那些试图帮助我并为不良英语抱歉的人(: