Xamarin形式Android-如何在Mac 2019的Visual Studio中启用Proguard收缩器

发布于 2025-01-21 13:23:45 字数 396 浏览 4 评论 0原文

我正在尝试为Mac 2019的Visual Studio中的XF 5.X And​​roid应用程序调用Proguard Code收缩器。

看来我需要文档中的Windows版本。是真的吗?

https> https:https://学习。 microsoft.com/en-us/xamarin/android/deploy-test/release-prep/proguard?tabs=macos

I am trying to invoke Proguard Code Shrinker for my XF 5.x Android Application in Visual studio for Mac 2019.

It looks like I need the Windows version from the Documentation. Is that true?

https://learn.microsoft.com/en-us/xamarin/android/deploy-test/release-prep/proguard?tabs=macos

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

↙厌世 2025-01-28 13:23:45

我尚未测试它,但是在Mac上找到该选项的同等位置是:

rt-click on您的android项目 /选项 / build / android build / code缩小。< / p>

您会看到选择

  • Proguard
  • R8

显然是r8是推荐的选择 - 单击Code Hellinker Platvown旁边的(i)图标以进行说明。

I haven't tested it, but the equivalent place to find the option on Mac is:

rt-click on your Android project / Options / Build / Android Build / Code Shrinker.

There you'll see choices

  • proguard
  • r8

Apparently r8 is the recommended choice - click the (i) icon next to Code Shrinker dropdown for an explanation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文