我正在尝试从 xamarin visual studio 2019 for MAC 上传 Android 版本
我已将 Google 开发者帐户与 visual studio 关联
我希望上传 Android 版本,但是当尝试从 visual studio 上传时,它显示以下错误:
Google Play requires you to manually upload your first APK for this app. You can use an Ad-Hoc APK for this.
然后我尝试手动上传一个临时构建以在 Alpha 中玩开发者控制台,它给了我以下错误:
You uploaded a debuggable APK or Android App Bundle. For security reasons you need to disable debugging before it can be published in Google Play.
我被困在这里,没有找到任何解决方案,我们将不胜感激
最佳答案
你快到了。这是正确的,您必须手动上传您的第一个 APK。你现在要做的就是
仔细检查以确保没有人通过
在您的应用程序的 Release模式下启用调试- 打开 Android 项目选项
- 选择编译器选项 -> Configuration:Release -> Debug Information: None & Define Symbols: {Does not have DEBUG}
- 按确定。如果必须进行更改,请重建并重新存档
PPS:确保您上传了 64-bit version你的应用也是
关于android - 从 xamarin visual studio 2019 上传发布版本时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56655831/