• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Signing a Pre-Packaged APK for the Android Market

Hello all.Firstly I am not a Developer - I am just creating a simple application. In fact I am not really creating, rather modifying an existing application.The application in question was made for a UK market, and I needed an AU market (this is in terms of the Images used) and thus it was quite simple to open the APK which I downloaded and edit the Images as required. I then signed it using the AutoSign App, and added it to my phone, where it runs as good as the original.I submitted it to the original developer - who asked if he could post it on the Market. I was happy for him to do this. However, as I used the Auto Sign tool, the following error was reported: Market does not accept apks signed with certificates issued by Android team. Create a new certificate that is valid for at least 50 years.Now like I said I am not a developer, and whilst I have the Android and Java SDK and Eclipse installed, and Android App Maker installed, I am still unable to do what I wan't to do - that is create a valid sign key and sign my packaged APK (even if I have to un package it via Compressed folder) with this for distribution to the Market.
And the guy that released the first app didn't create it himself - someone else did all the programming, he was just behind the brand and idea. Hence why its up to me to do it.
Any assistance you can offer is much appreciated!Sincere regards,Ryan Carmichael
 
I ended up figuring it out myself - To create a key:keytool -genkey -v -keystore keystore.keystore -alias alias_name -keyalg RSA -validity 10000
To test the key:keytool -keystore keystore.keystore -list -v
To apply the key:jarsigner -verbose -keystore keystore.keystore -signedjar apk_signed.apk apk.apk alias_name
Hope this helps someone!Ryan
 
Back
Top Bottom