简体   繁体   English

使用Android的NDK构建的代码是否可以像在Dalvik上那样在ART上运行?

[英]Will code built with Android's NDK run on ART as it does on Dalvik?

With KitKat, Android now has a substitute for the Dalvik VM: ART . 有了KitKat,Android现在可以替代Dalvik VM: ART Are there any differences in compatibility when running NDK code on ART vs Dalvik? 在ART与Dalvik上运行NDK代码时,兼容性是否存在差异?

When the Nexus 5 and KitKat came out we set one of our QA devices to ART exclusively. Nexus 5和KitKat推出后,我们将其中一项质量检查设备专门设置为ART。 Since then every release of our game has been tested with it and we've found no bugs that are exclusive to ART. 从那以后,我们游戏的每个发行版都经过了测试,并且没有发现ART独有的错误。 Our game is almost entirely NDK code with Java being used for text rendering, and platform specific SDKs. 我们的游戏几乎完全是NDK代码,其中Java用于文本渲染,以及特定于平台的SDK。 (IAP, Achievements, 3rd party SDKs like Flurry etc...) (IAP,成就,Flurry等第三方SDK)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM