Embed
Email

Installation Tutorial for Android SDK with Netbeans

Document Sample

Shared by: niusheng11
Categories
Tags
Stats
views:
8
posted:
11/27/2011
language:
English
pages:
7
Installation Tutorial for Android

SDK with Netbeans

1. Downloads:



JDK:

http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-dow

nload-400750.html



JRE:



http://www.oracle.com/technetwork/java/javase/downloads/jre-6u26-dow

nload-400751.html



NetBeans (All Supported Technologies Recommended):

http://netbeans.org/downloads/index.html



Android SDK: http://developer.android.com/sdk/index.html



2. Installation:



(1)Install JDK



(2)Install JRE



(1)Install NetBeans



(2)Install Android SDK(extract first, and then run SDK



Setup.exe )

3. Configure SDK Manager



(1)Install All Package(Recommended)



We just use SDK Platform Android 2.3.3 in this tutorial









(2)Set up the environment

Click-> Start



Search keyword “environment”



Choose-> Edit the system environment variables









Click-> Environment Variables

Set the Variable “PATH” either in User Variables or System

Variables. Add the SDK’s tools location into Variable Value, like:

“C:\Program Files\Android\android-sdk\tools”.



Add JDK bin’s location into “PATH” of “User Variable”

location to Variable Value like "C:\Program

Files\Java\jdk1.6.0_23\bin” (use ‘;’ to separate each value).

Note: the jdk’s version and location may be changed according to the

version you downloaded and installed, please remember to change

it.Click OK.



Set the Variable “CLASSPATH”, add the following two values:



%JAVA_HOME%\lib\dt.jar; %JAVA_HOME%\lib\tools.jar



Create two new variables: “JAVA_HOME” and “JRE_HOME” in user

variables (the version number and location could be changed

according to the version you downloaded and installed)



Add “C:\Program Files\Java\jdk1.6.0_23” to “JAVA_HOME”

Add “C:\Program Files\Java\jre1.6.0_07” to “JRE_HOME”









Then, go to folder:“C:\Program Files\Android\android-sdk\”,

open SDK Manager.exe









Click “Vitual devices”-> “New”

Set the “Name”, “Target”, “Built-in”, and “Hardware Property”

as following, then click “Create AVD”, and close the SDK Manager









(3)Setup Android plugin in Netbeans



Click “Tools”-> “Plugins”-> “Setting” -> “Add”



With the name “nbandroid” and the following address, click OK.



http://kenai.com/downloads/nbandroid/updatecenter/updates.xml

Then go to “Available Plugins”, find and check plugins, click

install.(If you are using NetBeans 7.0, please don’t check “Android

Test Runner for NetBeans 6.9(or 6.9.1)” and vice versa)







OK, we have done it. Then you can build an Android project.



Related docs
Other docs by niusheng11
TEXAS ADVANCED COMPUTING CENTER Safe Travels
Views: 0  |  Downloads: 0
The Trek
Views: 3  |  Downloads: 0
article-240637
Views: 0  |  Downloads: 0
work presentation 2A
Views: 2  |  Downloads: 0
snort_configure.docx - NEOHAPSIS
Views: 1  |  Downloads: 0
Southern Maine Dressage Association
Views: 1  |  Downloads: 0
Checklists for buying a used car
Views: 17  |  Downloads: 0
mis is riin The Office of Business Services
Views: 4  |  Downloads: 0
Assisted Living_6_
Views: 2  |  Downloads: 0
By registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!