# Build tool won't sign Android apk for distribution

**URL:** <https://forums.unrealengine.com/t/build-tool-wont-sign-android-apk-for-distribution/285757>\
**Category:** Mobile\
**Tags:** build-tool, deployment, unreal-engine, Android, bug-report, question\
**Created:** [June 13, 2014, 2:53am UTC](https://forums.unrealengine.com/t/build-tool-wont-sign-android-apk-for-distribution/285757 "2014-06-13T02:53:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonbo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonbo\_1](https://forums.unrealengine.com/u/Jonbo_1)\
**Post date:** [June 13, 2014, 2:53am UTC](https://forums.unrealengine.com/t/build-tool-wont-sign-android-apk-for-distribution/285757/1 "2014-06-13T02:53:47Z")

</div>

Branch: binary  
Build version: 4.2.0-2092659

The Build tool won’t correctly sign the Android apk for distribution when there is a space in the keyalias but still packages “successfully”. The result is “Failure [INSTALL\_PARSE\_FAILED\_NO\_CERTIFICATES]” when trying to install the apk (when running the .bat). My guess is some missing quotation marks, [**right here**](https://github.com/EpicGames/UnrealEngine/blob/6147965f2f00f9241542c3db41c57f9f74f76b08/Engine/Source/Programs/UnrealBuildTool/Android/UEDeployAndroid.cs#L513). 🙂

---

<div class="post-metadata">

**Author:** ![joshbadams](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joshbadams](https://forums.unrealengine.com/u/joshbadams)\
**Post date:** [June 18, 2014, 2:07pm UTC](https://forums.unrealengine.com/t/build-tool-wont-sign-android-apk-for-distribution/285757/2 "2014-06-18T14:07:10Z")

</div>

I do believe you are right. Have you tried the quotes to make sure the commandline tool likes them there?

---

<div class="post-metadata">

**Author:** ![Jonbo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonbo\_1](https://forums.unrealengine.com/u/Jonbo_1)\
**Post date:** [June 18, 2014, 4:12pm UTC](https://forums.unrealengine.com/t/build-tool-wont-sign-android-apk-for-distribution/285757/3 "2014-06-18T16:12:02Z")

</div>

Sorry, I have not, as I do not have the source downloaded (yet). I just took a guess why, then searched on github, saw that it wasn’t quoted. Finally, I created another key without a space in the alias and it resolved the issue for me. I know other android tools fully allow a space in the alias, so I’m pretty sure it wouldn’t mind them there.
