微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Visual Studio for Mac 2019:更新后无法在Android上构建和部署

如何解决Visual Studio for Mac 2019:更新后无法在Android上构建和部署

我在Mac上工作,并且刚刚将 Visual Studio for Mac 20109 更新到了最新版本: 8.8版(内部版本2913)

此后,我将不再能够构建/部署所使用的 Android 应用。

我创建了一个空的Xamarin.Forms新项目,但是遇到了同样的问题。

输出为:

google.api_core.exceptions.NotFound: 404 GET https://storage.googleapis.com/download/storage/v1/b/origin-ci-test/o/origin-ci-test%2Fpr-logs%2Fpull%2Fopenshift_release%2F12691%2Frehearse-12691-pull-ci-operator-framework-operator-marketplace-release-4.6-okd-images%2F1326467646144647168%2Ffinished.json?alt=media: No such object: origin-ci-test/origin-ci-test/pr-logs/pull/openshift_release/12691/rehearse-12691-pull-ci-operator-framework-operator-marketplace-release-4.6-okd-images/1326467646144647168/finished.json: ('Request Failed with status code',404,'Expected one of',<HTTPStatus.OK: 200>,<HTTPStatus.PARTIAL_CONTENT: 206>)

解决方法

您有这行:

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/apksigner/ApkSignerTool has been compiled by a more recent version of the Java Runtime (class file version 53.0),this version of the Java Runtime only recognizes class file versions up to 52.0

也许您应该在系统和项目中检查Java版本。请尝试对其进行更新,然后重试,因为它们的版本号可能不同。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。