Click here to Skip to main content
11,716,938 members (86,499 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Android key
Hi everyone,

I'm working on android project right now, and facing a problem about signing .apk with existing .RSA file.

Well, here's the file that I need to include when my .apk is in final stage(signed and ready to release)
- test.MF
- test.RSA
- test.SF

As far as I tried, I did these step :
- Creating my keystore
keytool.exe -genkey -alias test.keystore -keyalg RSA -dname "cn=test,ou=test, o=test, L=PARIS, ST=PARIS, c=FR" -validity 21900 -keystore test.keystore

- Signing my .apk
%JAVA_HOME%\bin\jarsigner.exe -keystore test.keystore -internalsf keys\test.SF -storepass 123456 my_apk.apk

But how do I include my test.RSA, test.MF, and test.SF ?

many thanks
Posted 29-Jan-13 16:18pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Personally I just do it all from Eclipse, if you take a look at App Signing[^] all options are covered.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 659
1 F-ES Sitecore 260
2 Maciej Los 185
3 OriginalGriff 175
4 Richard MacCutchan 140
0 Sergey Alexandrovich Kryukov 1,029
1 Maciej Los 464
2 Richard MacCutchan 430
3 CHill60 415
4 OriginalGriff 415

Advertise | Privacy | Mobile
Web02 | 2.8.150901.1 | Last Updated 1 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100