简体   繁体   English

Android Studio 没有生成签名的 APK,尽管说它成功了

[英]Android Studio not generating signed APK, despite saying that it successfully did

This may seem like a duplicate question, as there are 4 or 5 other exact questions.这似乎是一个重复的问题,因为还有 4 或 5 个其他确切问题。 But I have tried the solutions to every other question like this with no luck.但是我已经尝试了解决所有其他问题的方法,但没有运气。

Basically, I've been successfully generating signed APKs for weeks now, but out of the blue 3 days ago the signed APK is not being generated.基本上,我已经成功生成签名的 APK 数周了,但是 3 天前突然没有生成签名的 APK。 Simply nothing gets generated, even though Android Studio says that it has successfully generated it.即使 Android Studio 表示已成功生成它,也不会生成任何内容。

I am using Android Studio 3.0.我正在使用 Android Studio 3.0。

I have tried totally uninstalling/reinstalling AS, I've made sure that both APK option checkboxes are checked during the signed APK generation dialog window.我已经尝试完全卸载/重新安装 AS,我确保在签名的 APK 生成对话框窗口中选中了两个 APK 选项复选框。

I have many times restarted Android Studio and my computer, as well as cleaning/rebuilding many times.我多次重新启动 Android Studio 和我的计算机,以及多次清理/重建。 I do not know what to do from here.我不知道该怎么做。

I really need to get an update of my app out to Google Play but I cannot generate the new APK.我真的需要将我的应用更新到 Google Play,但我无法生成新的 APK。

The apk is probably being generated but not on the path you expect. apk 可能正在生成,但不在您期望的路径上。 Look around the project subdirectories or search for apk using your operating system search tools.环顾项目子目录或使用操作系统搜索工具搜索 apk。

我也遇到了同样的问题,你需要做的是将项目迁移到Android studio 3.0后,删除路径/project/app中已经生成的已签名apk并再次生成已签名的apk,你会在同一个文件夹中看到一个release文件夹目录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM