EMar
EMar

Reputation: 71

Any way to use the info from an old eclipse app / file.keystore in a new app donw in Android Studio?

I publisted an app on the play store about two years ago, 2014. Used Eclipse to complete it and it's still published on play store. I just found a folder with the old apk and the file.keystore is there. Don't think I have the original project as the computer i created it on died. Just lucky I moved some folders over to my new computer and found the keystore.

Basically I have created a new app in Android Studio and was wondering if it's possible to retrieve the info from the old file.keystore and use that in my new Android Studio App / keystore - name.jks

I haven't tried updating an app before and don't know how to get the right info from the old Eclipse file.keystore and put it into my new Android Studio app or name.jks file. Can it be done?

I opened the old name.keyystore in Keystore Explorer, it asked me for a password which I got past after a few trys, anything else I need to do? What info do I need?

Has anone done this that can help?

Thanks in advance

Upvotes: 0

Views: 78

Answers (1)

James McCracken
James McCracken

Reputation: 15766

You should be goood so long as you know the password to the keystore. You just need to set up Gradle to sign it (full documentation here).

In your app/build.gradle:

android {
    signingConfigs {
        release {
            storeFile file('../file.keystore')
            storePassword 'passwordHere'
            keyAlias 'aliasHere'
            keyPassword 'passwordHere'
        }
    }
}

Upvotes: 0

Related Questions