How do I make isolated dalvik

依然范特西╮ 提交于 2019-12-19 08:11:40

问题


I am tracing the Dalvik machine source code. According that, I want to make Dalvik runnable. I have seem the dvk project. But there has many problem result in fault. Are there have any way to make dalvik only without all android. Because make android will take too much time (about many hour)

dvk project: http://code.google.com/p/dvk/


回答1:


if you build the lunch "sim-eng", you get a dalvikvm built for just the host (i.e. the Linux box you're building on). this already runs with glibc rather than bionic.

if you want to build for a device, and just want a quicker build, you don't need to rebuild everything; "mmm dalvik snod" should be sufficient. (though if you haven't changed anything in dalvik/libcore/, just making changes to the VM shouldn't rebuild much anyway, even if you do a full top-level "make".)

and don't forget to use "make -j" to get some parallelism into your build!




回答2:


This GitHub project has a pre-compiled binary of Dalvik VM for Linux, ready to use! Check the associated blog post for information about how the binary was compiled and how to use it.



来源:https://stackoverflow.com/questions/1297678/how-do-i-make-isolated-dalvik

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!