Android Can I run Dalvik VM on any OS to run Android applications?

I have some operating systems such as Windows 7 and Linux. Is it possible to run Dalvik on this Win7 and after that launch an Android application or game?

thanks

+4
source share
4 answers

The Android virtual machine is tightly integrated with the OS (Linux). Therefore, it is not possible to run it on Windows.

The lower-level components (OS and native libraries) in the Android system provide many services that Dalvik simply โ€œtranslatesโ€ to consume Java programs. Therefore, porting Dalvik to Windows is probably very difficult and rather pointless.

0
source

One solution is to install Android-x86 (Android for Intel or AMD processors) either initially or in a virtual machine. If you want to play only some games and not dual-boot from Windows and Android, you can use the excellent Android Bluestacks emulator. Just a warning, depending on your hardware (or virtual hardware), one version of Android-x86 may work better than another, you should try. On the virtual machine, most likely the virtual video card will not be detected properly, so you should run it in VESA mode. I recommend editing the boot record before starting it and adding the commands:

nomodeset xforcevesa vga=ask 

Then select the graphics mode to launch Android-x86. This leads to a specific VESA mode, and in most cases the graphics are displayed correctly with the correct colors on the screen. Of course, in this case you have a performance penalty. In some games, you may need to enable developer options and then force the software to render.

+1
source

dalvik can definitely work on (normal) Linux, and probably it can also work in a cygwin environment on windows.

Regarding the ability to run applications for Android, it is quite difficult. However, the AOSP source has a simulator assembly that does just that - it starts dalvik initially on the host machine and provides the android platform, etc. To run Android applications.

Keep in mind, however, that the simulator environment is not actively supported and will probably require quite a bit of โ€œloveโ€ to make it work.

0
source

You can install Android on your computer using VirtualBox. Check out this tutorial .

0
source

All Articles