---
title: "Resolve Android error 'APK not zip-aligned'"
description: "If you sent your APK file to Google Play, and they responded with the message below (may be translated in your own language) :"
canonical_url: "https://www.goodbarber.com/help/shop/publication-troubleshooting-and-errors-r135/resolve-android-error-apk-not-zip-aligned-a173/"
lang: en
---

# Resolve Android error 'APK not zip-aligned'

Source: https://www.goodbarber.com/help/shop/publication-troubleshooting-and-errors-r135/resolve-android-error-apk-not-zip-aligned-a173/

## 1. The message from Google Play

If you sent your APK file to Google Play, and they responded with the message below (may be translated in your own language) :

![](https://cmsphoto.ww-cdn.com/superstatic/1758497/art/default/34456136-31497385.jpg?v=1657190635.4612014)

## 2. Cause and solution

This message is shown because you tried to send the [.apk ad-hoc (test) file](https://www.goodbarber.com/help/shop/test-your-app-before-publishing-r7/understand-the-android-ad-hoc-version-for-testing-a324/) of your Android application that was not accepted by Google Play.

Google Play**only accepts the .apk production file** that you retrieve at the end of the Android submission process on your back office GoodBarber.

1. Go to the menu **Sales channels > Android App > Publish**
2. Click "**Submit my application**".
3. **Download the .apk production file** to submit to Google play.

***Note**: If you are in the trial period, you must first choose a plan and subscribe to GoodBarber in order to get the production file.*

![](https://cmsphoto.ww-cdn.com/superstatic/1758497/art/default/34456136-31497386.jpg?v=1657190635.5958984)
