Android-studio connecting a real-machine debug Weex Project

Source: Internet
Author: User

1. Select an item

Platforms/android

2. Create a virtual machine (AVD)

(1) Click AVD Manager

(2) Click Create Virtual Device

Finally found

CPU does not support, these embarrassed, to connect to the real machine debugging

3. Real-Machine Commissioning

(1) Create good one default "Hello world!" Project

(2) Find the app in the toolbar and select "Edit Configurations" when you open it.

(3) Select "USB Device" in the "target device" in the dialog box and connect the Android phone to the computer to ensure that the phone is turned on and on and the drive is normal.

(4) Click "Run" from the toolbar (corresponding to the triangle symbol), or select "Run App" under "Run" in the menu bar, or press the shortcut key to SHIFT+F10.

(5) After starting run, the software starts to generate the APK installation package, and automatically installs to the mobile phone, the first time to execute will be slower, and then soon. When performing these actions, you can see the "Android" item under the software, you can see the Android phone that is automatically recognized, and the current operation information will be displayed on the right.

(6) When you are finished installing, you can see "BUILD successful" in "Message".

(7) The Android phone also installs the app automatically and executes automatically at this time.

Android-studio connecting a real-machine debug Weex Project

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.