Friday, August 30, 2013

Android native development startup


Installation


#1. Download JDK 6
Java 7 is not officially supported by the Android SDK at this time. Please use the latest version of the Java 6 JDK.
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html

For a 64 bit dev, note that the following trio is required:
  • 64-bit OS
  • 64-bit JDK
  • 64-bit Eclipse

#2.  Add the path to JDK (for example 'C:\Program Files\Java\jdk1.6.0_45\bin') to PATH environment variable.

#3. Download ‘Eclipse Standard’ from http://www.eclipse.org/downloads/
It is not an installer but a .zip archive. Extract its content to a folder like D:\Eclipse

#4 Run eclipse.exe.
It will ask you to select a Workspace. By default it gives a location in C:\Users
Better choose something like D:\Eclipse\Workspaces\MyWorkspace

#5. Install ADT plugin for Eclipse (Android Development Tools)
http://developer.android.com/sdk/installing/installing-adt.html

#6. You might need to install platforms and packages
http://developer.android.com/sdk/installing/adding-packages.html
Emulator runs best using Intel image, so make sure it is selected for all platforms images you install (if available)

Emulator

Keyboard shortcuts: http://developer.android.com/tools/help/emulator.html


Copy and paste: http://stackoverflow.com/questions/3391160/paste-text-on-android-emulator




No comments: