gpt4 book ai didi

android - aot(提前)可用于 android 的单声道吗?

转载 作者:太空宇宙 更新时间:2023-11-03 13:53:14 25 4
gpt4 key购买 nike

我发现了这个: Is AOT (ahead of time) compilation available (or planned) in mono for android?

但是这个问题很老了。

在单声道项目页面上,我看到 AOT 支持 ARM,但与 Android 无关。

AOT 现在可用于 Android 吗?

最佳答案

是的,在商业版本中(Monodriod 现在是 Xamarin.Andriod)有一个选项可以像 Xamarin 为 iOS 所做的那样 AOT 编译您的 Andriod 程序集(这是 Apple 商店提交的强制要求):

Android AOT Compilation

The AOT Compilation option enables Ahead-of-Time (AOT) compilation of assemblies. When this option is enabled, Just In Time (JIT) startup overhead is minimized by precompiling assemblies before runtime. The resulting native code is included in the APK along with the uncompiled assemblies. This results in shorter application startup time, but at the expense of slightly larger APK sizes.

Note that the AOT Compilation option is currently a preview feature and requires a Business license or higher. AOT compilation is available only when the project is configured for Release mode, and it is disabled by default.

关于android - aot(提前)可用于 android 的单声道吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32669431/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com