Android Learning (3) -- install the program on the simulator

Source: Internet
Author: User

The simulator configurations are listed in (1). This section describes how to install software on the simulator and configure the sdcard of the simulator ).

 

1. Install software on the simulator

Install the software javasapk format on the androidsimulator. If a 1. APK software is downloaded, open the doc and enter the platform-toolsdirectory of Android sdk(copy 1.apk to the platform-tools directory first in this example). Run the command ADB install 1.apk to complete the installation.

 

After starting the simulator, you can see the software you just installed on the main interface.

 

2. Configure the local image to the simulator

 

First, create an image, go to the directory you just created, and run mksdcard 1024 m e: \ sdcard. IMG to create an image in the root directory of the E disk. The size of 1024 is the size, followed by the image creation location.

 

3. Start the simulator with sdcard

 

3.1 run the command to start the SDK. After emulator-AVD myavd2.3.3-sdcard E: \ sdcard. IMG is started, the size of the SDK card is 1024 MB in the storage of the main menu.

Myavd2.3.3 in the command is the AVD created in advance, which is included in section 1.

 

3.2 start the program, right-click the android project, run as-> RUN deployments, select the Android Application option, and click target on the right, enter the command-AVD myavd2.3.3-sdcard E: \ sdcard at the bottom of the page. IMG, the same effect as running a command.

 

 

Related Article

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.