andbook!.pdf - Learning Android Get an anddev.org - Android-Shirt Back to index
anddev.org Header Logo
FAQ Search Top rated articles Browse Feeds anddev.org - Authors Contact Details Register Log in

Signing your apk/application for release (keytool,jarsigner)

Goto page Previous  1, 2, 3
 
       anddev.org - Android Development Community | Android Tutorials | Index -> Advanced Tutorials
Author Message
apple2183
Junior Developer
Junior Developer


Joined: 10 Apr 2009
Posts: 24

PostPosted: Mon Apr 13, 2009 12:14 pm    Post subject: google-developer-conference Reply with quote

hi
http://www.androidguru.com/content/google-developer-conference-join-us-googles-largest-developer-gathering
thank you
Back to top
View user's profile Send private message
zpk1234
Junior Developer
Junior Developer


Joined: 27 Jun 2009
Posts: 22

PostPosted: Mon Jun 29, 2009 6:49 am    Post subject: Reply with quote

How can I get unsigned apk without eclipse? can I use the shell commond to export the unsigned apk file?
Back to top
View user's profile Send private message
HaKr
Freshman
Freshman


Joined: 10 Nov 2009
Posts: 2

PostPosted: Wed Nov 11, 2009 12:30 pm    Post subject: Latest -- Signing android apps Reply with quote

Actually refered it for signing my app and so i followed it and did it successfully.Then i realised that there is a simplest way provided by Eclipse IDE.

All you have to do is right click on your project then "Android Tools>Export Signed Application".
1. Now a wizrd opens and it asks the project name .its present by default.
2.click next.It will have two options create from existing keystore or Create a new one
3.select create a new one. now select the location where you want to save the keystore.
4. select your password and retype password again.



5.Now Fill the detais .A screenshot is provided to make it easy.
6.Now give path to where you want your signed application to be placed.
7.click finish and there is your signed android app.


If this was already posted .then my mistake. anyways if you didnt get anything kidly post.

Regards
HaKr
Back to top
View user's profile Send private message
thetuxracer
Junior Developer
Junior Developer


Joined: 04 Jan 2010
Posts: 20
Location: Nashik, MH, India

PostPosted: Thu Jan 07, 2010 3:21 am    Post subject: Reply with quote

@HAKR yes, i did the same. I found it pretty late, after searchin and digging man pages for keytools and jarsigner..
anyway, seems to work. now for deployment ^^
Back to top
View user's profile Send private message
thetuxracer
Junior Developer
Junior Developer


Joined: 04 Jan 2010
Posts: 20
Location: Nashik, MH, India

PostPosted: Thu Jan 07, 2010 10:28 am    Post subject: Reply with quote

I also forgot to ask: Now that ive signed the application, from where do i find the certificate, so that i can obtain a Maps API key?
Back to top
View user's profile Send private message
enavarro
Once Poster
Once Poster


Joined: 11 Feb 2010
Posts: 1

PostPosted: Thu Feb 11, 2010 9:21 pm    Post subject: Reply with quote

MrSnowflake wrote:
avolovoy wrote:
Something tells we're up to see some interesting applications.
You haven't seen many questions here yet, I guess... Very Happy


True that. Well I have made signing solutions for JAR signing and using Verisign-issued certs. I basically make the CSR using keytool, then send it to Verisign so that they can issue the cert and then import that certificate into the keystore, using keytool and the key alias. If you fail to include the Intermmediate CA or just plain do not have a certificate associated to your key.

This can be done using keytool -genkeypair switch, but most people forget to add the Distinguished Name lines. Example:
Code:
keytool -genkey -alias Test -keyalg RSA -keysize 2048 -sigalg SHA1withRSA -keystore teststore.mks -dname "CN=Android Corporation,OU=Android,O=Anddev Org,L=Seattle,S=Washington,C=US"


And you can verify and extract the certificate later on. Sample command:

Code:
keytool -list -keystore teststore.mks -storepass password -v

_________________
-Git R' Done
Back to top
View user's profile Send private message Visit poster's website
Nathan
Freshman
Freshman


Joined: 20 Feb 2010
Posts: 3

PostPosted: Sat Feb 20, 2010 8:00 pm    Post subject: Reply with quote

Translation:

Java:

D: \ workspace \ keytool> D: \ WINDOWS \ dev \ Java \ jdk1.6.0_07 \ bin \ keytool-genkey-alias-anddev.keystore keyalg RSA-validity 20000-keystore keys / anddev.keystore
Enter the keystore password: YOURSECRETPASSPHRASE
Enter the password again: YOURSECRETPASSPHRASE
What is your first and last name?
[Unknown]: www.anddev.org
What is the name of your organizational unit?
[Unknown]: Android Application Development
What is the name of your organization?
[Unknown]: anddev.org
What is the name of your town or city?
[Unknown]: Schriesheim
What is the name of your state or your province?
[Unknown]: Baden-Wuerttemberg
What is the country code (two letters) f ³ r this unit?
[Unknown]: EN
Is CN = www.anddev.org, OU = Android Application Development, O = anddev.org, L = Shri
esheim, ST = Baden-Wuerttemberg, C = U.S. correct?
[No]: yes

F Enter the password an r ³ <anddev.keystore>.
(ENTER if your password the same as ³ f) r keystore: <ENTER>
Back to top
View user's profile Send private message
Display posts from previous:   
       anddev.org - Android Development Community | Android Tutorials | Index -> Advanced Tutorials All times are GMT + 1 Hour
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


© 2007, Android Development Community
All rights reserved.
Powered by phpBB.