在build.gradle(Module: app)文件中,增加:
android { signingConfigs { debug { storeFile file("your.keystore") } } }
参考:http://stackoverflow.com/questions/17189076/what-is-the-equivalent-of-eclipse-custom-debug-keystore-in-android-studio
Android Studio设置默认的签名文件(.keystore)
原文:http://www.cnblogs.com/cokekevin/p/4315448.html