Import key store from eclipse to android studio

前端 未结 3 1123
醉话见心
醉话见心 2020-12-02 17:40

I made research on the topic, but couldn\'t find a solution:

I created a signed apk from an eclipse project, and i also have the eclipse key store. But i couldn\"t f

3条回答
  •  死守一世寂寞
    2020-12-02 17:55

    This is specified in your Gradle build file, copy the keystore file into your Android Studio project structure, I chose to create a new directory under app called keystores: /app/keystores/release.keystore

    signingConfigs {
        debug {
            storeFile file('keystores/debug.keystore')
        }
        release {
            storeFile file('keystores/release.keystore')
            keyAlias ...
            storePassword ...
            keyPassword ...
        }
    }
    buildTypes {
        debug {
            signingConfig signingConfigs.debug
            debuggable true
        }
        release {
            signingConfig signingConfigs.release
            debuggable false
        }
    }
    

提交回复
热议问题