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