Hi There,
I’m having some issues with my build.
I keep getting this error on the last video I’ve added to the App.
I have several videos already in and coded but the 6th/last one keeps giving me this error. I’ve tried different formats for the videos, different videos etc…
It’s the same code over and over again for the movies but for some reason the last one results in a build failure with:
"Error building Player: CommandInvokationFailure: Failed to align APK package. See the Console for details.
D:\Android SDK DEV\adt-bundle-windows-x86_64-20140702\sdk\build-tools\android-4.4W\zipalign.exe 4 “D:\Unity3D Work\Unity3D Projects\Systech App\Temp/StagingArea/Package_unaligned.apk” “D:\Unity3D Work\Unity3D Projects\Systech App\Temp/StagingArea/Package.apk”
stderr[
Unable to open ‘D:\Unity3D Work\Unity3D Projects\Systech App\Temp/StagingArea/Package_unaligned.apk’ as zip archive
]
stdout[
]"
The Code that repeats 6 times in OnGui()
“if (GUI.Button(new Rect(512, 1216, 608, 96), “Visualization Reel”)){
audio1.clip=sound1;
audio1.Play();
Handheld.PlayFullScreenMovie (“DXB.mp4”, Color.black, FullScreenMovieControlMode.CancelOnInput);
}”
And it’s the last video, the 6th one that does it. I can build it fine with the other 5 in just as soon as I add the last BAM, Build Fail.
I’ve checked the code nothing missing brackets all where they need to be etc… I have no idea what it could be.
I’ve tried adding the zipalign in sdk/tools etc… nothing.
Any and all help will be much appreciated. Cheers.