如何在Visual Studio 2017中使用Android App Bundles-动态功能 [英] How to use Android App Bundles-Dynamic Features with visual studio 2017

查看:121
本文介绍了如何在Visual Studio 2017中使用Android App Bundles-动态功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Google Play控制台中,我遇到了

In Google Play Console I came across

使用Android应用程序捆绑包节省应用程序大小-

App size savings using the Android App Bundle-

如果您使用的是Android App Bundle,则您的应用可能会缩小38.4%. 从应用程序捆绑包生成的APK使您的用户更小,更多 优化的下载. 了解操作方法

Your app could be 38.4% smaller if you used the Android App Bundle. The APKs generated from the app bundle give your users smaller, more optimized downloads. Learn how

此计算基于您的最新生产版本和 XXHDPI ARMv7设备配置.

This calculation is based on your latest production release and the XXHDPI ARMv7 device configuration.

这一切都是为了减少apk文件的大小&它声称具有许多好处,例如保持应用程序更小,为用户提供所需的功能和配置,通过消除构建和发布多个APK的需求来降低开发复杂性.

This is all about reducing the size of apk file & it claims to have many benifits like Keep apps smaller, Serve users the functionality and configurations they need, Reduce development complexity by removing the need to build and publish multi-APKs name a few.

我们可以在Visual Studio中为Xamarin开发相同的东西吗?

Can we develop same thing for Xamarin with visual studio?

推荐答案

应用包现已在 Visual Studio 2019 v.16.2

我使用 Developer Command Prompt Visual Studio 2019 v.16.2

msbuild -restore XamAndroidApp.csproj -t:SignAndroidPackage -p:Configuration=Release -p:AndroidKeyStore=True -p:AndroidSigningKeyStore=filename.keystore -p:AndroidSigningStorePass=password -p:AndroidSigningKeyAlias=keyAlias -p:AndroidSigningKeyPass=password

遵循此链接以获取更多信息

希望这对某人有帮助

这篇关于如何在Visual Studio 2017中使用Android App Bundles-动态功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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