无法在 Android Studio 3.3 中编译已签名的 APK [英] Cannot compile a signed APK in Android Studio 3.3

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

问题描述

更新到 AS 3.3 后,生成签名包/APK"对话框中似乎存在错误.选择 Bundle 或 APK 格式后,移动到下一页并设置模块/密钥库传递,我无法通过按下一步移动,因为我弹出这个:

After updating to AS 3.3, there seems to be a bug in the "Generate Signed Bundle/APK" dialog. After choosing Bundle or APK format, moving to the next page and setting the module/keystore pass, I can't move by pressing next because I get this popup:

Please specify a destination folder for the signed apk

没有用于指定目标文件夹的编辑框.有其他人经历过吗?我想知道是不是因为材质主题插件隐藏了一个额外的编辑框.否则我会提交一个错误.

There is no editbox to specify a destination folder. Anyone else experienced this? I want to know if it's because of the material theme plugin hiding an extra editbox. Otherwise I'll file a bug.

推荐答案

UPDATE 最新的 Android Studio(目前为 3.3.1)已修复该错误.

UPDATE The latest Android Studio (currently 3.3.1) has fixed the bug.

对于 Android Studio 版本 <3.3.1

这似乎是升级到 3.3 后 AS 中的一个错误.该错误是由隐藏的复选框引起的,如果它不可见(并且 Android 工程师以某种方式错过),则在按下下一步时不应评估该复选框.

This seemed to be a bug in AS after upgrading to 3.3. The bug is caused by the hidden checkbox which SHOULDN'T have been evaluated when pressing next if it's invisible (and somehow missed by the Android engineers).

这对我有用:

  1. 无论您想要 APK 还是捆绑包,请选择捆绑包
  2. 即使不需要,也请选中为注册已发布的应用程序导出加密密钥"选项
  3. 选择任何文件
  4. 按下一步(它会起作用)
  5. 按两次,选择APK/Bundle,然后在下一页,如果不需要,则不需要复选框导出(...)"
  6. 构建和如果这个答案能帮助他人,请点赞

这篇关于无法在 Android Studio 3.3 中编译已签名的 APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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