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/