How to use Android App Bundles-Dynamic Features with visual studio 2017

后端 未结 4 543
忘了有多久
忘了有多久 2021-01-02 09:18

In Google Play Console I came across

App size savings using the Android App Bundle-

Your app could be 38.4% smaller if you used the Andro

4条回答
  •  长情又很酷
    2021-01-02 09:49

    As stated by Hakiza, above, the command line is the best bet currently to build an Android App Bundle (aab). The only item I would add is to include the command switch for actually generating the bundle. Add the following command switch to the msbuild command: -p:AndroidPackageFormat=aab.

    So, the entire command line would be:

    => 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 -p:AndroidPackageFormat=aab
    

提交回复
热议问题