This question already has answers here:
How can I create a keystore?
(12 answers)
Closed 9 years ago.
This is my first android app that I would want to publish in the Google Play Store. I have followed the steps from this article.
However I get stuck at one step for specifying the keystore selection. Using the use existing keystore my path
C:\Users\joyson.android\debug.keystore
I suppose this is the debug.keystore which cannot be used for publishing the app. Can someone please suggest how can I do this? Gone through most of the links however the one above was simple and straightforward. Also I am using Eclipse Tool. Any help would be great.
Follow this tutorial about Build Android application package file (APK) using Eclipse IDE and Android Developer Tools (ADT) Plugin. In here describe how to Create new keystore.
You can go with the "Create New Keystore" option if you are signing that application for the first time. Provide the details as described in the link and you will get signed APK in the end.
File->Export->Android Application
Select Which project to be exported
Then click Next
Create New Keystore and fill it. Specify particular location where your keystore to get generated.
And finally it will ask where to save apk file.Specify the location
It will be your signed apk. Remember your password forever for next updates
Related
This question already has answers here:
Generate signed apk android studio
(12 answers)
Closed 6 years ago.
What is the easiest way to sign an Android apk file, if you don't have an existing keystore?
I read many tutorials on the internet that suggest that it's necessary to create a keystore with a command line tool and that therefore Android Studio can't do the task on it's own. Is that still true?
Otherwise is there an easier way to go about the task?
The existing StackOverflow question on APK signing has many Eclipse-specific answers, so I decided to ask a new question.
You can create a keystore from Android Studio itself.
Just go to Build -> Generate Signed APK -> Select your module. You will be able to select an existing keystore or to create one. To create it, you will need to enter a few informations about yourself, and two passphrases, one for the keystore and one for the alias. Then you will be able to sign your apk. Later, you will have to reuse the same keystore.
Make sure to save the keystore, because only the apps signed with it will be allowed to be uploaded to the Play Store, and to update on devices.
For more informations, as always, Android documentation
I have migrated an old project of mine from eclipse to android studio (Ubuntu) with some limited success.
I now want to create a new project in Android studio, dragging in classes and refactoring them as I go.
Then I will want to submit my new Android studio project to the app store as and upgrade to my old project using the correct signing key.
My question is what do I have to keep the same in the new project as the old project so that I can do this?
Keep the following unchanged:
Your keystore file, alias name and password.
Your app's package name.
Don't forget to update your version code to the newer one.
Warning: Keep your keystore and private key in a safe and secure
place, and ensure that you have secure backups of them. If you publish
an app to Google Play and then lose the key with which you signed your
app, you will not be able to publish any updates to your app, since
you must always sign all versions of your app with the same key.
If I got this right, you just need to compile with the same key from your keystore, at export time. Of course you need to increase the version number in your manifest before uploading it, just like a regular update.
If you need more information, about how to sign an app with android studio look at the google developer guide
This question already has answers here:
Android Application APK signing?
(3 answers)
Closed 7 years ago.
I am facing problem to generate a apk in the eclipse please help me how to generate it while using the eclipse i am facing the problem to generate a signed apk for google play store there should be a specific to the developer
I want to know about the keystore how its work and how its generate a personalised apk for developer
Right click on your project -> Android Tools -> Export Signed Application Package
step 1:create or generate new key store password,use if existing password u have.
step 2:export your project -> Android Tools -> Export Signed Application Package.
step 3: give your key store password.
This question already has answers here:
I lost my .keystore file?
(12 answers)
Closed 8 years ago.
I have my app's latest APK file and full source, and My app's private key of the keystore.
But I lost my keystore file... so I cannot sign my app and update my app..
Anyone know the answer?
If you lost your keystore then there is no way that you can update the app in play sore( it will cause a signature error )! The only way is that you can create an app with a new package name upload it to store and remove the old app.
Actually there is no way to recover your keystore in other way than with tools for recovering deleted files in your OS.
There isn't any tool for pulling keystore from your device or application. Even Google can't restore your keystore from your Google account.
The thing is different when you only lost your password. See https://code.google.com/p/android-keystore-password-recover/
Sorry dear unfortunately you can not update new version of the same application on android play store. you can upload new application with new package name and keystore file. But Google will not allow you to upload new version with different keystore file.
Hope it will help you.
The keystore doesn't need to be uploaded, it needs to be integrated into the apps .apk.
Make sure your building the app for release, in eclipse go to file -> and export the app. This will build it with your release keystore instead of the debug keystore.
When you first export your app and eclipse makes you a keystore it is saved in the eclipse\ folder on your computer, try looking there for it. See this post for where your keystore file should be on your computer.
I published an App a while back and would like to make updates to it. I've saved my password and Alias when i originally created the App but when i try export the App using the "Android Tools/Export Signed Application" option using Eclipse it prompts me for an existing Keystore. The only Keystore i can find is a debug.keystore in my .android folder under C:\Users\Username. I know you cant publish Apps on the Marketplace using the debug keystore. Does this mean i need to generate a new one from scratch using the existing Alias and password?
If so, is there an option in eclipse to do this??
You need the same key. If you really lost it, unfortunately you'll have to republish that app under a different name/key. If you use the wizard in ADT, it'll prompt you to generate a new key (or hopefully find your old one in some directory that you didn't check).
You have to use the same key, and wont be able to publish to the same application without it.
You can generate new ones via:
Using File -> Export -> Export Android Application, then follow the steps can generate a new one.