4 ways to run an Android app on a PC

Source: Internet
Author: User
Tags install node

I have a glory 3C, usually put in the dorm (I carry a Nokia E63, small, stable, long standby time), in the dormitory I will use it in the public number of articles, recently to test driving license is also on the above with driving test treasure. Recently want to use these two software in the laboratory, but do not bother to bring mobile phones, and no PC version, driving the PC version of the book is temporarily unable to synchronize data, so I want to run the two software on the PC, search for a while, found three ways:

1, install an Android simulator on the PC, run apk inside the simulator;

2, the virtual machine installs the Android x86 and then runs in this system;

3, using Google Chrome browser to run ( This is a novel, promising, exciting approach, is expected to achieve full platform to run Android applications );

4. Using the Andro simulator

Http://pan.baidu.com/s/1o6ibtpC
Andro the latest new version. Test faster than Blue simulator

Than

5. Tianxin Simulator 4.2 Very slow, but I heard that can win2003 run

Here are three ways to do this:

1. Run with simulator:

(1) Create AVD using Google's Open Development Kit (Android virtual device, Android Android)

First download the Android Development Kit (currently 4.2 is the mainstream):

Development Kit with Android 4.2 system Image: Adt-bundle-windows-x86-20130219.zip

Development Kit with Android 4.4 system Image: Adt-bundle-windows-x86-20131030.zip, download

After unpacking, open Eclipse.exe, menu window->android Virtual Device Manager:

Select the Device Definition tab, select 4.65 720p (which you think is a moderate size), then click the Create AVD button on the right:

Ram settings to do what you want, SD card needs to allocate point space, some programs run is required, such as; use host GPU hook, should be able to render faster:

Choose the Android Virtual Device tab, select an AVD in the list, and then click Start on the right:

Start option selection suggestions, tick the scale display to real size, and then set the Monitor dpi to 160:

The final results are as follows:

You must install the emulator before you can install the software:

Add the Adb.exe path X:\adt-bundle-windows-x86-20130219\sdk\platform-tools to the environment variable path,

Run in CMD,

Adb.exe install xxx.apk an apk,

Adb.exe install-r xxx.apk Reinstall (reinstall) an APK,

Adb.exe Uninstall xxx.apk Uninstall an APK,

Adb.exe uninstall-k xxx.apk unload but retain (keep) data and cache directory,

Specific parameters can be directly entered in cmd Adb.exe view,

Of course, you can also install and uninstall programs in the simulator.

This method summarizes: The advantage is that almost all programs can run, compatibility is good, the disadvantage is that the resource consumption, running extremely slow.

(2) Download the third-party custom simulator:

    • You can install multiple engines:

    • Blue Stack (BlueStacks) Simulator and forum:

    • Daily simulator and its forum:

Simulator App Download: The Android App Center, which is the official companion, has been tested to work properly in several of these simulators.

Summary of this method: third-party emulator compatibility is not officially good, but the performance is superior, and easy to operate,

These simulators in the daily simulator performance is the best and can be input to call the PC Input Method , you can also adjust the resolution arbitrarily:

2. Run on Android x86 system:

First download Android x86 system (project website download),

Currently the latest version is (as of 2014/10/02):android-x86 4.4-r1 (kitkat-x86)

I installed in VMware, but can not change the resolution, it is recommended to install with VirtualBox, you can modify the resolution, the installation is shown in the following links two tutorials:

VMware Installation AndroidX86 Detailed method

VMware Virtual Machine Installation configuration android-x86 detailed graphics tutorial

Three things to note:

1) When you create a disk, VMware must choose the IDEfor the disk type , no system is not recognized:

2) application as far as possible to the "Android Market" installation, basically can be normal use, other not necessarily;

3) After installing the default horizontal screen, but some mobile version of the app will be displayed sideways,

Need to install Orientation Control (screen rotation), display orientattor (forced spin screen)

To turn off the automatic rotation screen of the system when working with it--auto-rotate the screen with the accessibility feature, settings-

This method summarizes: performance is slightly worse than the simulator, the video card does not drive well, the resolution can not be set, the mouse is a bit floating, but the compatibility is better than the simulator, most applications are able to run.

3. Run in Chrome:

Google has an APP runtime for Chrome (currently in Beta) that can be attached as a plugin to a Chrome browser and then install the APK as a plugin in the browser to run.

See Tutorial: Running Android Apps with Chrome on Linux, Chrome running Android Apps!

Let me say the core steps:

1) Download Chrome: Sina download;

2) Download the App Runtime for Chrome or Web drive download,

Unzip to any directory (don't erase it, chrome always calls),

To chrome://flags/enable Native Client:

To chrome://extensions/enable "developer Mode", and then click "Load the extension you are developing" Select the file directory just extracted

3) Convert APK, available in two ways:

Use the online tool to convert the apk into a CRX plugin, download it and drag it to install it in Google Chrome;

Replace with chromeos-apk tool:

Install node. js;

Open "node. js Command Prompt" Enter npm install chromeos-apk-g installation chromeos-apk:

using the chromeos-apk xxx.apk command to convert the APK application, you will get a folder after conversion ( do not delete ), the installation method is the same as the Android Runtime installed above:

4) You can then run the installed plugin in the chrome://apps/:

This method summarizes: Low resource consumption, excellent performance, but due to the current testing phase, the compatibility of the program is limited.

Currently only waiting for the perfect Google, it is estimated that Android will be more fire, and quickly join the development of Android software, only one version can be run on all platforms ...

4 ways to run an Android app on a PC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.