Questions tagged [zipalign]

zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files.

The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the .apk, such as images or raw files, to be aligned on 4-byte boundaries.

93 questions
0
votes
0 answers

Unable to open zipalign faiiled error in Flutter Signed APK build

Trying to generate a signed APK build for my flutter app. But getting a zipalign error in it Using Eclipse as Java Compiler . How to fix that issue? Runned flutter clean also multiple times
Haseeb Ahmad
  • 7,914
  • 12
  • 55
  • 133
0
votes
1 answer

What has happened with apk sizes and zip alignment since Android Studio 3.6?

Since I updated to Android Studio 3.6 two things has happened to my release APK: It has grown from 60mb to 102mb zipalign.exe does not successfully alignment to 4 My app uses native libraries, and using verbose output from zipalign it seems the .so…
Viktor Sehr
  • 12,825
  • 5
  • 58
  • 90
0
votes
1 answer

Google Play Console signing error/invalid signature after rebuilding react-native

Our team decided to upgrade our react-native version from 0.59.x to 0.61.5. We have so many difficulty upgrading it so we decide to start a new repo from fresh (npx react-native init appName) and copy over our code. After we make sure the app are…
0
votes
2 answers

What's the use of Android Zipalign

I was reading about zipalign in android. I am new to this concept. I search on google for the same but didn't find any appropriate answer. Can anyone tell me what's the actual use of zipalign? Is signed apk and zipalign is the same? Thanks in…
Harsh Shah
  • 2,162
  • 2
  • 19
  • 39
0
votes
1 answer

Why Zipalign cannot work properly with .pvr files?

I am using .pvr files in my Android game. But when compressing it using Zipalign, the size of .pvr files are no change (another type of file worked well) I tried to use the newest Zipalign tool, change flags tools/windows/zipalign -v -f 4…
0
votes
0 answers

Manually ziplalign-ing android unsigned APK exported from Xamarin

Is the APK obtained by clicking "Open Folder" (hence unsigned APK) under Build/ViewArchives in Xamarin already zipaligned? And if it is, can I cause any problems with the package if I manually zipaligned it again and then manually signed it using a…
Razvan Emil
  • 533
  • 9
  • 25
0
votes
1 answer

APK & Build Folder Disappeared after running this command

I have an ionic app and built the android release, then did all the key and zip align steps. Then ran this ~/Library/Android/sdk/platform-tools/adb install (the path on my computer to the apk) (apk name).apk to test the apk directly on my phone. I…
SaH
  • 929
  • 1
  • 8
  • 17
0
votes
1 answer

Why am I getting the following upload error and how do I fix it?

I signed my apk using the command: jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore MyFocusKeystore.keystore C:\Users\Public\Documents\Unity_Projects\Shapes\Focus.apk myfocus and zipaligned it using the command: zipalign -v 4…
Aravind
  • 31
  • 2
  • 11
0
votes
1 answer

How do I zipalign my signed apk?

I got the below output when i tried to zipalign my signed apk using the command: zipalign -v 4 C:\Program Files\Android\Android Studio\jre\bin\Focus.apk C:\Program Files\Android\Android Studio\jre\bin\Focus-zipaligned.apk Here, I don't see…
Aravind
  • 31
  • 2
  • 11
0
votes
1 answer

Android - zipalign fails before apksigner

I'm currently in the process of upgrading from V1 signing (jarsigner) to V2 signing (apksigner). Jarsigner has been working for me no problem, however I'm running into issues with zipalign in my build.gradle before I can run apksigner. On command…
0
votes
0 answers

Buildozer Unsigned Release APK Saved in Windows Folder, Now Need to Zipalign and Sign It, Windows Environment

My progress thus far: Built an unsigned release APK with Kivy Buildozer VM, command: "buildozer android release". Moved that APK to a Dropbox folder. Installed Android Studio. Read several bits here, here and here, but could not get any of the…
Joshua Harwood
  • 337
  • 1
  • 2
  • 15
0
votes
0 answers

Android Studio Error:Execution failed for task ':app:zipalignDebug'.

I tried to run one of my old projects in android studio & I am getting the following error : Error:Execution failed for task ':app:zipalignDebug'. > A problem occurred starting process 'command '/home/newaj/Android/build-tools/25.0.0/zipalign''
Newaj
  • 3,992
  • 4
  • 32
  • 50
0
votes
1 answer

zipalign error "no such file or directory"

I'm using Jenkins to set up CI for an Android app. I'm trying to configure the Android SDK as a Jenkins Global Tool, using the Custom Tools Plugin. Here's the installation shell script I configure in Jenkins>Global Tool Configuration. printf…
Mig82
  • 4,856
  • 4
  • 40
  • 63
0
votes
1 answer

Play store Apk ZipAlign Issue

I have zipAlignEnabled flag enables in android studio And need to build the app for one of the clients who will sign the app and upload it to theirs play store account. After signing the app, while uploading the play store says apk is not zipaligned…
Mithilesh Izardar
  • 2,117
  • 1
  • 13
  • 24
0
votes
1 answer

Cannot find zipalign

I just installed the latest Android Studio. I cannot find zipalign anywhere on disk. In fact I cannot find it with search, nor can I find the folders or folder structure described in the Ionic Docs, here. The crazy thing is - I wrote a Medium post…
Subjective Effect
  • 1,465
  • 2
  • 17
  • 37