Jump to content

Android Apps, Where Should a Keystore File Be Stored?


EpicKingdom_
 Share

Recommended Posts

7 hours ago, bruno_ said:

Just make sure you don't publish it with your app and that the key won't go to any public location.


So when I build an APK file, the keystore file should NOT be in the app folder? Otherwise, it will package it into the APK file?

Link to comment
Share on other sites

15 hours ago, EpicKingdom_ said:


So when I build an APK file, the keystore file should NOT be in the app folder? Otherwise, it will package it into the APK file?

It depends on how you compile or what application you use.

After you compile you can open the APK with 7-zip or winzip, and see if its there. If it is, you shouldn't publish it.

I don't recommend to put the key in the app folder, because you need to use the same key to all your apps, for that reason the app folder is not the best place.

Link to comment
Share on other sites

8 hours ago, bruno_ said:

After you compile you can open the APK with 7-zip or winzip, and see if its there. If it is, you shouldn't publish it.

Thank you for this information, I just checked the APK file and there was no keyfile in it. I was worried that I was packaging my keyfile.

Link to comment
Share on other sites

On 5/7/2018 at 9:06 PM, bruno_ said:

I don't recommend to put the key in the app folder, because you need to use the same key to all your apps, for that reason the app folder is not the best place.

You don't have to use same key to all your apps. You can have different keys for each app, but when you want to update your app, you need to use the same key for your new apk that you used for the first one.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...