2013年3月19日 星期二
Develop Android Project on Win7 with Eclipse
Develop Android Project on Win7 with Eclipse
You can simply install the Android SDK and Eclipse IDE by setting up the official ADT Bungle: http://developer.android.com/sdk/installing/bundle.html
Or, you can setup the develop environment step by step:
1. Download and install the "Eclipse IDE for Java Developers" from http://www.eclipse.org/downloads/
2. Download and install JAVA JDK: http://forum.market.com.tw/showthread.php?38-JDK-%E4%B8%8B%E8%BC%89%E5%AE%89%E8%A3%9D-%E7%92%B0%E5%A2%83%E8%AE%8A%E6%95%B8%E8%A8%AD%E5%AE%9A
- Install the latest JDK for win64
- Setup environmental parameters:
JAVA_HOME: the path where you install the jdk
path: add %JAVA_HOME%\bin;
CLASSPATH: add %JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
- Verification: execute \cmd\java -version
3. Install the Android SDK: http://developer.android.com/sdk/installing/index.html
4. Installing the Eclipse Plugin: http://developer.android.com/sdk/installing/installing-adt.html
If you want to connect your device to Eclipse,
1. For HTC devices, install HTC Sync.
2. Update device driver with Google USB Driver: http://developer.android.com/sdk/win-usb.html
3. Execute "adb kill-server" and "adb start-server" under "(android-sdk)\platform-tools"
訂閱:
文章 (Atom)