Same fingerprint certificate on two Android Studio installations?

I use Android Studio 0.4.6 on two different machines. I use v2 cards in my application, so I need the Fingerprint certificate to be the same on both machines. Is there any way to do this?

+4
source share
2 answers

There are two possible ways to accomplish this:

1. By creating your own certificate

Create your own certificate by following the steps outlined here using the java standdown file key

http://developer.android.com/tools/publishing/app-signing.html#cert

Now share your certificate between the machines and configure it to build in a build.gradle file like this

android {
    signingConfigs {
        debug {
            storeFile file("debug.keystore")
        }

        myConfig {
            storeFile file("other.keystore")
            storePassword "certificate_password_here"
            keyAlias "alias_key_here"
            keyPassword "key_password_here"
        }
    }

    buildTypes {
        yourbuildtypename {
            debuggable true
            jniDebugBuild true
            signingConfig signingConfigs.myConfig
        }
    }
}

" " , , .

Windows,

C:\Users\your_user_name\.android\debug.keystore

- , . , buildType, , .

2. :

, . .

+6

, , IDE , :

~/.android/debug.keystore

, , , ( IDE).

!

+4

Source: https://habr.com/ru/post/1529051/


All Articles