app-release-unsigned.apk 未签名 [英] app-release-unsigned.apk is not signed
本文介绍了app-release-unsigned.apk 未签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 github 上下载了一个 Android 应用程序的 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 Studio.我该怎么办?
I'm using Android Studio. What am I supposed to do?
推荐答案
如果有人想使用 Android Studio 调试 release 构建,请按照下列步骤操作:
If anyone wants to debug release build using Android Studio, follow these steps:
- 将构建变体设置为发布模式.
右键单击左侧导航窗格中的应用,然后单击打开模块设置.
转到签名选项卡.添加签名配置并填写信息.也选择您的钥匙串.
Go to Signing Tab. Add a signing config and fill in information. Select your keychain as well.
- 转到构建类型标签.选择发布模式并设置:
- Go to Build Type tab. Select release mode and set:
-可调试到 true.
-将配置签名到 config.(您刚刚创建的那个).
-Signing Config to the config. (The one you just created).
同步你的gradle.享受!
Sync your gradle. Enjoy!
这篇关于app-release-unsigned.apk 未签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文