Install Android simulator on PC

Source: Internet
Author: User

Today, when talking about the most popular smartphones, many people will definitely say that the Android mobile phone is used. If you do not have an Android phone and want to buy another phone, but the price is not cheap, what should you do? You can first install an android simulator on your computer, because it can simulate an Android mobile phone system on your computer, so that you can experience its charm in advance.

The tutorial consists of two steps: Install the simulator and install the software in the simulator.

1. Install the android simulator on your computer

2. How to install APK on the simulator

1. Install the android simulator on your computer

1. Because the android simulator can only run in the Java environment, download and install Java first. (Skip this step if you already have a Java environment)

Java environment download: http://java.sun.com/javase/downloads/widget/jdk6.jsp

Select the Windows version. After the download is complete, install it.

2. download and install the android SDK:

: Http://dl.google.com/android/android-sdk_r05-windows.zip

After the download is complete, decompress the package to a directory. For example: e:/Android-SDK-Windows (note that the directory should not contain Chinese characters)

Then add the complete path E:/Android-SDK-Windows/tools to the system PATH variable (this step is mainly used for convenient calling when the APK software is installed in the future)

My computer> right-click Properties> advanced> Environment Variables

Note: When adding a PATH variable, add a number before the path.

 

  

 

3. Configure the android Simulator

Run SDK setup.exe (in the E:/Android-SDK-Windows Directory)

An error may occur and https: // cannot be accessed ://

 

Solution: Check Settings> force https://...sources to be fetched using http ://

 

Then download the selected avaiable packages, for example,

If you only want to install the android2.2 simulator, select SDK platform Android 2.2. API 8, revision 2.

After the download, the software will automatically install the simulator in the Android-SDK-Windows Directory, without user operations, and then directly go to the virtual device> New... step.

 

Install selected)

 

The download speed is not flattering. It's too slow for your home to get the network speed faster! Wait patiently ......

 

After the download is complete, go back to virtual device> new ..

 

Enter a name for the name item and select android2.2-API Level 8 on target,

Enter the size of the SD card in the size field. Select the default size for other options.

Then click Create AVD

 

Created successfully! Choose start to start. Let's take a look at the Android system.

 

NOTE: If your system "My Documents" is moved to another location, startup may fail.

Solution: Go to "my documents" and copy the. Android directory

The location of win7 is: C:/users/Under the user directory.

XP location: C:/Documents ents and settings/user directory

If it still cannot be started after the above modification, you must change the path in the configuration file to your corresponding address.

 

Before enabling the simulator, a window will pop up. For example, if you do not need to select a simulator, click the "launch" button to enter the simulator.

 

The Android mobile system is starting ...... The first startup will take a long time and wait patiently.

 

After entering the system, it is exactly the same as the interface on the mobile phone.

 

Let's take a look at several other interface diagrams.

 

  

 

When you first enter, the default English system is used. You can use the language settings to change to Chinese settings-> Language & keyboard-> Select language

So far, the android simulator has been installed and debugged, and there is no software in it. Let's talk about how to install the software.

2. How to install APK on the simulator

1. First run the android simulator, start the Android mobile phone system you just installed, and prepare the APK software you need to install.

For example, I downloaded the APK from my mobile phone QQ and put it on the desktop. The file name is qq.apk.

2. Open the command line cmd window (Enter cmd and press enter from the Start menu)

Enter ADB install desktop/qq.apk and press Enter.

Note: Do not insert other Android phones while enabling the simulator. Otherwise, the installation cannot be identified.

  

 

   

Click "enter" or see the content as shown in Figure

 

If you see success, the installation is successful. If the installation fails, the cause of the problem is also given.

Here is a tip: After Entering ADB install, drag the APK installation file to the command line window with the mouse, and it will automatically fill in the address, without entering the file path.

Go back to the android simulator and check if there is an additional QQ icon.

 

Other Android software is also installed in this way.

Now, try the brand new Android system, install some software, and feel the powerful functions that the Android system brings to you!

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.