简体   繁体   English

Android VM有任何命令行选项吗?

[英]Does Android VM have any command line options?

Does Android VM have any command line options? Android VM有任何命令行选项吗? If it has, how can I set them in eclipse? 如果有,我怎么能在日食中设置它们?

I'm looking something like this: 我看起来像这样:

http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html

but for dalvik. 但对于达尔维克。

How can I use the -XX:+UseCompressedStrings parameter? 如何使用-XX:+UseCompressedStrings参数?

I found the following in this link searching at Google: 在此链接中搜索了以下内容:

The Dalvik VM supports a variety of command-line arguments (use adb shell dalvikvm -help to get a summary), but it's not possible to pass arbitrary arguments through the Android application runtime. Dalvik VM支持各种命令行参数(使用adb shell dalvikvm -help来获取摘要),但是不可能通过Android应用程序运行时传递任意参数。 It is, however, possible to affect the VM behavior through certain system properties. 但是,可以通过某些系统属性影响VM行为。

But this is only through adb. 但这只是通过adb。

The answer is no. 答案是不。

The Dalvik does not have any command lines such as the oracle article you mention. Dalvik没有任何命令行,例如你提到的oracle文章。

There're thou a few Manifest parameters that you can use to request simple stuff such as larger memory, hardware accelerated, etc. 您可以使用几个Manifest参数来请求简单的内容,例如更大的内存,硬件加速等。

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

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