- Home /
Question by
BostonTheCat · Oct 05, 2015 at 10:16 AM ·
android buildapk
Creating an unsigned APK which is NOT “zip-aligned”
Hi,
I need to create an unsigned android APK for a client which is also not zip-aligned. The problem is that Unity seems to always zip-align builds. Does anyone know of a way where I can fix this?
Thanks
Comment
The whole build process including signing and use of the build tools is detailed on the Google Developer Website.
Hi BostonTheCat,
did you find a way to do this? I need exactly the same. If I make a build it is still "unsigned (debug)" which is a problem for my client.
Thanks
Answer by BostonTheCat · Jan 05, 2016 at 01:25 PM
Yes, this is how we did it.
Right click on your APK and select “open with”
Select your computers archive manager (Winrar, winzip, 7zip etc.)
With the APK open delete the entire “META-INF” file from inside
When the deletion is complete close the archive manager and you should now have an un-signed APK which will not be usable until it is re-signed with the correct provisioning profile by your client.
I always store both versions so we have one to test and then one for the client to resign.