为什么 Xamarin.Forms 个应用无法在 Chromebook 上运行?
Why don't Xamarin.Forms apps work on Chromebooks?
我不久前向 Play 商店发布了一个 Xamarin Forms 应用程序。它 运行 在 Android、iOS 和 UWP 上很好。我通过商店看到 Chromebooks Chrome OS 声称拥有 运行 Android 应用程序,但是在找到我的应用程序时它说它不兼容。我到处都看过,似乎找不到确切的原因。有人知道吗?
it says its not compatible.
市场上的 Chromebook 可以是基于 ARM 或 Intel 的。在英特尔方面,这些范围从 Celeron 2955U 一直到 Core i7s(当前)。
由于这些 x86/x86_64 ARCH/ABIs,您将需要在您的 apk 中包含这些 ABI(或发布多个基于 ABI 的 apk 到 Play)
项目选项/构建/Android构建/高级/发布配置:
Select x86_64
(我不知道 Chromebook 上是否使用任何 32 位 x86 芯片,但如果需要,您当然可以包括 x86
):
我也 运行 关注这个问题,请在此处尝试这篇文章:
https://developer.android.com/topic/arc/
其中提到使用以下内容更新您的 Android 清单 xml:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
... >
<!-- Some Chromebooks don't support touch. Although not essential,
it's a good idea to explicitly include this declaration. -->
<uses-feature android:name="android.hardware.touchscreen"
android:required="false" />
我不久前向 Play 商店发布了一个 Xamarin Forms 应用程序。它 运行 在 Android、iOS 和 UWP 上很好。我通过商店看到 Chromebooks Chrome OS 声称拥有 运行 Android 应用程序,但是在找到我的应用程序时它说它不兼容。我到处都看过,似乎找不到确切的原因。有人知道吗?
it says its not compatible.
市场上的 Chromebook 可以是基于 ARM 或 Intel 的。在英特尔方面,这些范围从 Celeron 2955U 一直到 Core i7s(当前)。
由于这些 x86/x86_64 ARCH/ABIs,您将需要在您的 apk 中包含这些 ABI(或发布多个基于 ABI 的 apk 到 Play)
项目选项/构建/Android构建/高级/发布配置:
Select x86_64
(我不知道 Chromebook 上是否使用任何 32 位 x86 芯片,但如果需要,您当然可以包括 x86
):
我也 运行 关注这个问题,请在此处尝试这篇文章:
https://developer.android.com/topic/arc/
其中提到使用以下内容更新您的 Android 清单 xml:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
... >
<!-- Some Chromebooks don't support touch. Although not essential,
it's a good idea to explicitly include this declaration. -->
<uses-feature android:name="android.hardware.touchscreen"
android:required="false" />