java - Android VM 有命令行选项吗?

标签 java android virtual-machine

Android VM 有命令行选项吗?如果有,我该如何在 Eclipse 中设置它们?

我看起来像这样:

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

但对于 dalvik 来说。

如何使用-XX:+UseCompressedStrings参数?

最佳答案

我发现了以下in this link在 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. It is, however, possible to affect the VM behavior through certain system properties.

但这只能通过 adb 进行。

关于java - Android VM 有命令行选项吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16037234/

相关文章:

android - Geocoder 适用于 1.6 但不适用于 2.2 模拟器

android - 取消选中 RadioButton 的 - 替代方法

java - Tomcat Java Web 应用程序运行缓慢

java - 扩展或作为参数传递

java - JavaScript 中哪种类型的值对应于 Java`List<>`?

java - 如何在Android中设置默认启用禁用属性

linux - 有时无法访问同步文件夹中新创建的文件

compiler-construction - 动态基本 block 与静态基本 block 和分支

java - Android 架构组件和 MVVM 的错误处理

java - 无法在 web.xml 或随此应用程序部署的 jar 文件中解析绝对 uri