码迷,mamicode.com
首页 > 移动开发 > 详细

Android studio 添加debug keystore

时间:2015-12-01 12:37:27      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:

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

Android studio 添加debug keystore

标签:

原文地址:http://www.cnblogs.com/StuLiuJun/p/5009712.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!