0. install Eclipse
Download Eclipse from http://www.eclipse.org/downloads/, Eclipse IDE for Java Developers.
tar xvf eclipse-java-galileo-linux-gtk.tar.gz
1. Install ADT
Error message: org.eclipse.wst.sse.core 0.0.0' but it could not be found
# install ADT for developing Android
Start Eclipse, Help -> Install New Software,
Add site:
Google Android Tools - https://dl-ssl.google.com/android/eclipse/
Eclipse GEF - http://download.eclipse.org/tools/gef/updates/releases/
Eclipse EMF - http://download.eclipse.org/modeling/emf/updates/releases/
Eclipse GMF - http://download.eclipse.org/modeling/gmf/updates/releases
Eclipse Webtools - http://download.eclipse.org/webtools/updates/
Google eclipse Plugin - http://dl.google.com/eclipse/plugin/3.5
Choose "Google Android Tools", then select "Developer Tools" and install it.
2. Install Android SDK
download android-sdk_r07-linux_x86.tgz
$ tar xvf android-sdk_r07-linux_x86.tgz
$ cd android-sdk-linux_x86
$ tools/android update sdk
modify ~/.bashrc, add android-sdk-linux_x86/tools to PATH environ variable.
3. Create Android target
$ tools/android create avd --target "android-8" --name "android-8"
$ tools/android create avd --target "android-7" --name "android-7"
4. Setup Eclipse
Eclipse, Window -> Preferences -> Android, SDK Location, locate to your android sdk directory.
No comments:
Post a Comment
您的评论将使我blog更有动力~