Until now i make an apk file in the normal way: Andoid tools -> Export signed application package...
and there i give the key and the alias and than it make my apk file that i post in the market.
now i want to do the same thing with a terminal
I try to use the ant with : ant release
command but it give me an unsigned application package.
If you add lines of the following form to your build.properties file (SDK pre 14) or ant.properties file (SDK 14 and beyond)
Then the if you call 'ant release' the signing with the correct passwords will be automatically done for you
(Assuming your release keystore is at : c:/users/you/my-release-key.keystore and your release key's alias is : your_release_alias)
key.store=c:/users/you/my-release-key.keystore
key.alias=your_release_alias
key.store.password=YourKeystorePassword
key.alias.password=YourKeyaliasPassword
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With