【问题标题】:How many Supported architectures should I choose while creating apk file创建 apk 文件时我应该选择多少支持的架构
【发布时间】:2019-01-04 02:06:52
【问题描述】:

我有安卓应用,我的安卓 apk 文件大小为 25MB。因此,在创建 apk 文件时,我想知道必须有多少 Supported Architectures,以减少 apk 大小。

面向 4.1 到 8.1 Android 版本。

【问题讨论】:

标签: android xamarin xamarin.android apk cpu-architecture


【解决方案1】:

如果您查看here 的答案,它可以让您简要了解在使用 xamarin android 时应该使用什么 abi。

我还想补充一点,x86x86_64 通常是模拟器,因此如果你没有它们处于发布模式也没关系,另外两个即 armeabi-v7aarm64-v8a 是 abi 的覆盖大多数设备,因此最好在发布模式下同时拥有这两个,其他两个对于真实设备不是必需的,但对于大多数模拟器是必需的

Goodluck 在查询时回复

【讨论】:

  • 在您给定的链接中,据说 确保您至少检查以下架构:armeabi-v7a 和 x86,并且您提到不需要 x86
  • 之所以这么说是因为几乎没有x86真机可用,你看"I would also like to add that x86 and x86_64 are usually emulators and hence Its okay if you don't have them in release mode"这个了吗?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2012-10-15
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多