NetBeans-based Android development environment configuration One, ready to work
- NetBeans Check the Web page of the Accept ... Select the corresponding system download installation can, my computer is XP32 bit, download the Windows X86, specific installation steps can Baidu, relatively simple.
- The Android SDK has been tried, so.
Ii. Concrete Steps
Name: nbandroid, add-on, plug-and-write tool
URL填写:
- **netbeans version 7.3-8.0 fill in:
Http://nbandroid.org/updates/updates.xml
- **netbeans version 8.1 and above fill in:
Http://nbandroid.org/release81/updates/updates.xml
2. Click OK to switch to "available plugins", tick the following plugins. Android is the required option.
3. Click Install, then the warning should pop up. Select Continue, continue the installation, and complete the installation.
4. Set the NetBeans Android SDK path
Select the directory for your Android SDK directly. Click OK.
5. Launch tool –>android SDK Manager:
- Android SDK tools/platforms tools in the Tools directory must be selected
-Build Tools inside version Select one on the line
-Android * * Version selected according to the requirements of a
6. Click on the Install,netbeans to install it automatically after you select it. The Do loading package is displayed below the progress bar ....
7. Open the tool –>AVD Manager Here is the configuration of our Android simulator,
The AVD can be modified, started, and deleted on our simulator.
8. To this our configuration work is basically completed , you can do a project demo test.
Third, the demo test
- Create a new Android project
- Project settings (note that the package name in the picture must be the form of *. *, for example a**.**b)
Also choose Target Platform
- Run Demo
In order to test, we test directly after building the project.
Right click on the project to run.
This process may be long, the first time the simulator will be very slow, so after the project if you need to constantly test, then do not shut down, directly hang it.
Note: We see a keyboard display on the right side of the simulator, which selects Hardware Keyboard present when creating an AVD.
To XP Win7 are configured a bit, pro-Test, wrote a detailed tutorial, thought oneself tinker for a long time, write to let everyone need a friend, if there is a problem can promptly ask me, we communicate together. The first time to write a blog, a simple tutorial has been written for almost three hours. Look forward to the common progress with everyone.
NetBeans-based Android development environment configuration