Android Question Use old application keystore certificate

Ydm

Active Member
Licensed User
Longtime User
Hello.
I have written an application that I have with Intel XDK. I wrote to him again now B4. But I'm having trouble certificates. Previously it was installed on google play I need to use the old certificate. I can not change the application extension. There are around 100 thousand to be downloaded. But he does not accept the old keystore certificate B4.
What can I do?
Am I not use a separate certificate for each application?
 

Ydm

Active Member
Licensed User
Longtime User
I have examined the links. But I did not understand much.
Application B4 the way I build an unsigned. But how do I sign after. Google will not accept unsigned. How do I add Keystore?
 
Upvote 0

Ydm

Active Member
Licensed User
Longtime User
Keystore file, key alias name, have key password. But I get an error when I use them. B4A name in Keystore interlaced he says. I make changes to the file b4xv5.ini. Still it does not work. This time, the algorithm generates an error.
The professional program such as B4, is not such a simple matter very annoying errors.
I think, I would not build APK file manually through other programs does not seem right to me.

(sorry for my English. I'm using google translate.)
 
Upvote 0

Ydm

Active Member
Licensed User
Longtime User
b4xv5. I received the error after the change:

Signing package file (private key) Error

jarsign error: java.security.signatureexceptio of: private key algorithm is not compatible with signature algorithm
 
Upvote 0

Ydm

Active Member
Licensed User
Longtime User
the same should apply for help. I solved the problem. Perhaps others in need. However, this problem should be solved in B4 application. Next, this issue should be considered in updates ...

Here is my first tutorial for the community!

This tutorial will show you how to sign a B4A generated apk with a non-B4A keystore. I needed a way to do this for myself since I had some apps out created using AppInventor that I remade using B4A. On to the tut:

1. When you are ready to publish, You need to use B4ABuilder to compile an unsigned apk.
"C:\Program Files (x86)\Anywhere Software\Basic4Android\B4ABuilder.exe" -Task=Build -NoSign=True -Obfuscate=true
2. Go to \Main\Objects\bin and find the file called "temp.ap_". This is your app. Rename this file accordingly (i.e. "myapp.apk").
3. Copy your keystore file to the same directory as myapp.apk.
4. To make life easier, navigate to your android sdk folder and copy this file: \android-sdk\tools\zipalign.exe to the same folder as your apk and keystore.
5. Open Windows Command Prompt. Navigate to the folder where myapp.apk, keystore, and zipalign are
6. In Command Prompt type: jarsigner -verbose -keystore mykeystore.ks myapp.apk username
Change "mykeystore.ks" to your keystore's file name. Change "myapp.apk" to your app's file name. Change "username" to the username used in your keystore.
7. Enter your password when asked.
8. When it's finished, type this: zipalign -v 4 myapp.apk myapp_aligned.apk
9. You're done! myapp_aligned.apk is the file you'll need to upload to the market
 
Upvote 0
Top