相关疑难解决方法(0)

错误:您当前选择的变体(未知输出)的 apk 未签名。请为此变体指定签名配置(调试)

升级到 Android Studio Arctic Fox (2020.3.1) Canary 9 后。我无法运行我的测试。它弹出Edit Configurations窗口以显示Error: The apk for your currently selected variant (Unknown output) is not signed. Please specify a signing configuration for this variant (debug).消息。我似乎无法通过.jks为调试变体以及大多数建议的帖子创建和使用发布签名配置来解决这个问题。我有点犹豫是降级还是尝试以某种方式解决它。有没有人以前遇到过这个问题?欢迎任何建议和意见。

在此处输入图片说明

Android Studio Arctic Fox (2020.3.1) Canary 10 版本同样出现问题。

android unit-testing android-studio android-instrumentation build-variant

6
推荐指数
5
解决办法
1873
查看次数