Android Question i create a keystore, how to sign a apk?

raaiman

Member
Licensed User
Longtime User
I create a keystore with b4a, how to sign a apk with it?

I want to prove that i am the owner of the keystore to some app store.



I use this ,but them can not match.
B4X:
jarsigner -verbose -keystore d:\keystore -sigalg SHA1withDSA  -signedjar d:\signed.apk d:\unsign.apk b4a

thanks
 

eps

Expert
Licensed User
Longtime User
I'm struggling to work out what you are trying to do...

Are you saying that you've got a keystore file already, but that you can't get your App, in B4A to use the keystore file that you've already created?
 
Upvote 0

raaiman

Member
Licensed User
Longtime User
I'm struggling to work out what you are trying to do...

Are you saying that you've got a keystore file already, but that you can't get your App, in B4A to use the keystore file that you've already created?

yes ,i you've got a b4a keystore, and build apk with b4a,signed with this keystore.

but someone use my app as his.

the app store get me a apk and let me to sign with my keystore to prove i was the owner of the keystroe to get my app back.

but i try to sign it like "
jarsigner -verbose -keystore d:\keystore -sigalg SHA1withDSA -signedjar d:\signed.apk d:\unsign.apk b4a
", the app store say that them can not match.

can you catch me?
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
jarsigner -digestalg SHA1 -sigalg SHA1withDSA -keystore <your file> -storepass <password> -keypass <password> temp.apk b4a
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
You are posting to an SIX years old thread. Why?
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Misprint in Erel's reply, that gives error.
Please, edit it, and remove my post.
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
I hope, Erel will notice, and edit - just a single letter in the code line. That killed 2 hours of my life o_O
 
Upvote 0
Top