First Android App Run on Xiaomi-mi_4w Device

Source: Internet
Author: User

1.IDE Preparation

Download Eclipse adt;http://developer.android.com/sdk/index.html from the Android Developers website

After the download is complete, unzip the Adt-bundle-windows-x86_64-20140702.zip,

Refer to the Android developers website to install the SDK via SDK Manager.exe packages;http://developer.android.com/sdk/installing/adding-packages.html

After the installation is complete, open Eclipse and create an Android application project:

Minimum Required SDK: Minimum program compatible version selection 4.0; other selected latest version;

Next

Next, choose program icon, style, background color, etc.

Next; Create an active interface and choose blank activity;

Next, name HelloWorld for the event;

Finish

Project creation completed;

2. Connect your phone

My is Xiaomi4, in Settings->developer options open Developer options and USB debugging;

Install the driver, you can see the status of the phone in Eclipse Ddms, see;

The connection of the mobile phone is successful, if the connection is not successful first check whether driver is installed, other cases please Google;

Now you're back to the Java option.

Click Run:

The device Chooser will pop up

Select Device, OK

Eclipse will install the app on your phone:

First Android App Run on Xiaomi-mi_4w Device

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.