Learn note 3-Develop and run (uninstall) the first Android app

Source: Internet
Author: User

New Android Project

1. After configuring the Android bad Environment, the new project selects Android project.

2. Select which platform to develop for the application (ANDROID2/ANDROID4, etc.)

3. Related Configuration explanation

Application Name: App name is the name under the software picture

Package Name: Cn.com.bcxin.app (Use the package name as the unique identity for your app in Android.) )

Crate Activity (window): mainacrivity (optional) (can be used as the portal to open the software to see the interface.) )

Min SDK version: Minimum compatible SDK versions, choose which Android version the app will run on (5 for 2.0 and above). If empty, the delegate can run on any version of the software. Version updates some APIs are completely different, so we typically enter values to develop apps for specific Android versions.


Complete.

Installing the project on the emulator

1. Select the project right-click on Run as→android application (you can see the console print installation information so that you can see our app in the emulator) above is to install the software in the development environment.

2. It is also possible to install software through the Tools→adb.exe (new version of ADB migration to platform-tools) under the SDK directory without the need for development tools. Assuming the application has been compiled, find the xxx.apk of the bin under the project path. Enter the ADB directory in the DOS window and then: adb install (Pak path) to complete the application installation to the emulator. (It can be found that the development environment is simple, this is not available in the development environment, the development environment is also used within this way).

3. Uninstall the software: Uninstall it in my app inside the phone. (Same as when we use the phone)

You can also use ADB to offload adb uninstall (App package name: Package name Cn.com.bcxin.app).

Learn note 3-Develop and run (uninstall) the first Android app

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.