Android Studio:升级后的签名问题 [英] Android Studio: Signing issue after upgrade

查看:26
本文介绍了Android Studio:升级后的签名问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将我的 android studio 从 0.2.6 升级到 0.2.11.在 0.2.6 中开放的 Build -> "generate signed apk" 向导不会出现在这里.相反,它显示了一个对话框,如:

I recently upgraded my android studio from 0.2.6 to 0.2.11. The Build - > "generate signed apk" wizard which was opening up in 0.2.6 is not coming up here. Instead it shows a dialog like :

对于基于 Gradle 的项目,签名配置应在 Gradle 构建脚本中指定.有关详细信息,请参阅 Gradle 用户指南.

For Gradle-based projects, the signing configuration should be specified in the Gradle build scripts. See the Gradle User Guide for more info.

我什至在 build.gradle 文件中添加了以下几行:

I even added the below lines in build.gradle file:

signingConfigs {
        debug {
            storeFile file("debug.keystore")
        }

        myConfig {
            storeFile file("other.keystore")
            storePassword "android"
            keyAlias "androiddebugkey"
            keyPassword "android"
        }
    }

    buildTypes {
        foo {
            debuggable true
            jniDebugBuild true
            signingConfig signingConfigs.myConfig
        }
    }

谁能告诉我可能是什么问题?

Could anyone please tell me what could be the issue?

或者你能告诉我如何降级我的工作室吗?

Or also could you please let me know how to downgrade my studio?

谢谢

推荐答案

Android Studio v 0.2.13 已按预期修复此问题.

This issue is got fixed in Android Studio v 0.2.13 as expected.

Android Studio 开发团队修复的错误

Google Android 线程

这篇关于Android Studio:升级后的签名问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆