I have never set any passwords to my keystore and alias, so how are they created?

后端 未结 6 1703
傲寒
傲寒 2020-12-07 07:32

As I was going through some posts on the Internet learning more about signing your Android app, I got post like how to sign the app, and something

6条回答
  •  粉色の甜心
    2020-12-07 08:32

    Better than all options, you can set your signingConfig to be equals your debug.signingConfig. To do that you just need to do the following:

    android {
      ...
      buildTypes {
        ...
        wantedBuildType {
          signingConfig debug.signingConfig
        }
      }
    }
    

    With that you will not need to know where the debug.keystore is, the app will work for all team, even if someone use a different environment.

提交回复
热议问题