应用程序释放-unsigned.apk没有签名 [英] app-release-unsigned.apk is not signed

查看:1687
本文介绍了应用程序释放-unsigned.apk没有签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载的GitHub上的Andr​​oid应用程序的zip文件,我试图运行它,但我得到一个对话框,此消息

I downloaded the zip file of an Android app on github and I'm trying to run it, but I get a dialog with this message

app-release-unsigned.apk is not signed. Please configure the signing information for the selected flavor using the Project Structure dialog.

我使用Android的工作室。 我该怎么办?

I'm using Android Studio. What am I supposed to do?

推荐答案

确认的构建变量的设置为调试的(而不是的发布)在Android的工作室(检查的打造变种的面板)。

Make sure the build variant is set to debug (and not release) in Android Studio (check the build variants panel).

如果设置为调试,它会自动签署自动生成的调试密钥库的应用程序,而无需编辑构建脚本。

If set to debug, it should automatically sign the app with the auto-generated debug keystore, without editing the build scripts.

然而,你将需要创建和配置发布特定的密钥库。

However you will need to create and configure a specific keystore for release.

正式文件,涵盖了调试和发布模式:<一href="https://developer.android.com/tools/publishing/app-signing.html">https://developer.android.com/tools/publishing/app-signing.html

Official documentation, covering debug and release modes: https://developer.android.com/tools/publishing/app-signing.html

这篇关于应用程序释放-unsigned.apk没有签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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