首页 > 移动平台 > 详细

Android studio 添加debug keystore

时间:2015-12-01 12:37:10      阅读:581      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!