I have found the solution:
- Go to the directory of ANT build.xml inside Android SDK. Mine was here: C:\android_sdk\adt-bundle-windows-x86_64-20130514\sdk\tools\ant The build.xml file is rather large (about 70kb). Open this file for editing.
- Find the line
<target name="-release-nosign" unless="has.keystore">
- Add the following properties bellow:
<property name="has.keystore" value="true" />
<property name="key.store" value="release.keystore" />
<property name="key.store.password" value="android" />
<property name="key.alias" value="androiddebugkey" />
<property name="key.alias.password" value="android" />
- Finaly, go to the directory of the APK you are trying to compile, You should already have debug.keystore file. Just copy it and rename it release.keystore