什么是艺术(Android的运行时间),是他们为使其与艺术兼容活Android应用程序所需的任何变化? [英] What is ART(Android Run Time), is their any changes required in live android application for making it compatible with ART?

查看:278
本文介绍了什么是艺术(Android的运行时间),是他们为使其与艺术兼容活Android应用程序所需的任何变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说现在谷歌开始使用ART,一个新的运行时执行Android应用程序及其配备Android 4.4系统(在某些设备)。现在,我只是想确认,是亲语法上的任何变化都需要与否现有的应用程序或他们的任何标准,使新的应用程序即运行在Dalvik的,但也与技术相兼容?

解决方案
  

我听说现在谷歌开始使用ART,一个新的运行时执行Android应用程序及其配备Android 4.4系统(在某些设备)

ART默认情况下不上Android 4.4系统的启用。它默认是在L开发preVIEW启用。它可能会在默认情况下任何Android的下一个产能释放是启用。

  

是亲语法上的任何变化都需要与否现有的应用程序或他们的任何标准,使新的应用程序即运行在Dalvik的,但也与技术相兼容?

引述的文档(强调):

  

此文档可以让你知道的看点迁移现有的应用程序来与艺术兼容时为。与ART运行时的大多数应用程序应该只是工作。然而,在一些的Dalvik的工作技术不上的艺术作品。本文介绍了其中的一些问题。

如果您正在使用NDK,还有你需要做一些艺术相关的调整机会。在此之后,方案中,你将不得不改变对艺术得到相当深奥的。

I am heard that now Google start using ART, a new run-time for executing Android app and its come with Android 4.4 (in some devices). Now I am just want to confirm that, is pro-grammatically any changes are required or not in existing application or their is any criteria for making new application i.e. run on Dalvik but also compatible with ART ?

解决方案

I am heard that now Google start using ART, a new run-time for executing Android app and its come with Android 4.4 (in some devices)

ART is not enabled by default on Android 4.4. It is enabled by default on the "L" Developer Preview. It probably will be enabled by default on whatever the next production release of Android is.

is pro-grammatically any changes are required or not in existing application or their is any criteria for making new application i.e. run on Dalvik but also compatible with ART ?

Quoting the documentation (emphasis added):

This document lets you know about things to watch for when migrating an existing app to be compatible with ART. Most apps should just work when running with ART. However, some techniques that work on Dalvik do not work on ART. This document discusses some of these issues.

If you are using the NDK, there's a chance you will need to make some ART-related adjustments. After that, the scenarios in which you would have to change for ART get fairly esoteric.

这篇关于什么是艺术(Android的运行时间),是他们为使其与艺术兼容活Android应用程序所需的任何变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆