Android studio 添加debug keystore

Hi If you don't want to go for hard code all of this stuff , then go for below easy steps

->Your project
  ->Your Module
  ->Right click on your module
   ->go to open module settings
      ->Go to Signing section
         ->Specify all the attribute here and browse your Custom debug key in Store File

Then you will find below code which will be auto-create by android studio in build.gradle

signingConfigs {
    debug {
        storeFile file('custom_debug_keystore')
        keyAlias 'androiddebugkey'
        keyPassword 'android'
        storePassword 'android'
    }
}

Note:

1) Please do not use .keystore in the code manually you go for manual configuration

2) Please specify correct Alias and password

http://stackoverflow.com/questions/17189076/what-is-the-equivalent-of-eclipse-custom-debug-keystore-in-android-studio

posted on 2015-12-01 12:09  刘豆  阅读(815)  评论(0编辑  收藏  举报

导航