# Android build failed

**URL:** <https://forums.unrealengine.com/t/android-build-failed/425546>\
**Category:** Mobile\
**Tags:** apk, unreal-engine, fail, Android, question\
**Created:** [May 20, 2018, 3:34pm UTC](https://forums.unrealengine.com/t/android-build-failed/425546 "2018-05-20T15:34:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baderaum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Baderaum](https://forums.unrealengine.com/u/Baderaum)\
**Post date:** [May 20, 2018, 3:34pm UTC](https://forums.unrealengine.com/t/android-build-failed/425546/1 "2018-05-20T15:34:06Z")

</div>

Hey,  
at the first my english is not the best.  
I want to release my project at google play, but if I build the project, then I get this error.

 ![241614-apk-error.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/8/c/98c8a46f2a5b66ff0e8f964b4fb995ac03824647.png)

 ![241615-packaging-settings.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/9/8f91d6a807644609f7d3b3e5213670788c95ebde.png)

 ![241616-android-sdk.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/5/d55ed5bff087bb000387b8d01f4830f4ba390d49.png)

---

<div class="post-metadata">

**Author:** ![SHOBBIT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SHOBBIT](https://forums.unrealengine.com/u/SHOBBIT)\
**Post date:** [May 20, 2018, 4:26pm UTC](https://forums.unrealengine.com/t/android-build-failed/425546/2 "2018-05-20T16:26:58Z")

</div>

It looks like you do not have a keystore file yet. For a shipping build (for distribution) you must have a keystore file generated. If not then,

Create a new keystore file from cmd prompt.

keytool -genkey -v -keystore **my\_keystore\_filename**.keystore -alias **my\_alias\_name** -keyalg RSA -keysize 2048 -validity 10000

Secondly, I moved the Keystore file to **/Build/Android**

Thirdly, in distribution settings in project settings android section set alias name as in keystore file.

AND LASTLY Make sure in distribution settings under keystore name you add the “.keystore” extension to your keystore file name.

If still, you have confusion follow this,

[https://forums.unrealengine.com/development-discussion/android-development/11061-google-play-setup?21803-Google-Play-Setup=](https://forums.unrealengine.com/development-discussion/android-development/11061-google-play-setup?21803-Google-Play-Setup=)
