1. JDK is Java development Kit,java Development Kit
Ezgo11 is already pre-installed and configured with the JDK, so there is no need to download the installation or configure the environment
Verify: Open terminal
$ java-version
2. Installing the SDK
Android SDK, the Android software development kit,android Software Development Kit.
: Get Android SDK
Here I am download SDK only (there is a "DOWNLOAD for other platforms" at the bottom of the page, not the ADT Bundle (contains basic Android SDK components and an Eclipse IDE embedded with ADT)
The path of the compressed package after download is,/home/yourname/download/android-sdk_r22.6.2-linux.tgz
(red means your user name; Orange indicates the name of the compressed package you downloaded, the name may be different after the version is updated)
Now unzip it into the/OPT directory:
$sudo tar -zxvf /home/yourname/downloads/android-sdk_r22.6.2-linux.tgz- c /opt //Red is your user name, note the space should not be missing or wrong
3. Install Eclipse
: Eclipse Downloads
Here i download the eclipse IDE for Java EE Developers (point here to compare the differences between versions)
The path to the compressed package after downloading is,/home/yourname/downloads/eclipse-jee-kepler-sr2-linux-gtk-x86_64.tar.gz.
Now unzip it into the/OPT directory:
$sudo tar-zxvf/home/yourname/downloads/-c/opt
Next,/opt/eclipse This directory user and user group to the current user's user group, such as my current user is SHIRLEYLVLJ, the user group is SHIRLEYLVLJ, enter the following command:
$sudo Chown-r Shirleylvlj:shirleylvlj/opt/eclipse
Then, create an Eclipse startup script under the/usr/bin directory:
$sudo Gedit/usr/bin/eclipse
Add the following and save it:
The color should be the same as in the line
Add executable permissions for the startup script:
$sudo chmod 755/usr/bin/eclipse
At this point, you can start the program by entering eclipse directly in the terminal, if you can't write off your account.
Add Eclipse to the menu (this part is not necessary, and may be a bit problematic, to be verified)
$sudo Gedit/usr/share/applications/eclipse.desktop
Enter the following code in the editor
[Desktop Entry] Version = 1.0Encoding = Utf-8name = Eclipse Platformgenericname = eclipsecomment = Eclipse ideexec =eclipseicon =/opt/ecli pse/icon.xpmterminal = Falsetype = Applicationcategories = GNOME; Application;development; Startupnotify=true
4. Installing the ADT plugin in eclipse
ADT, the Android Development tools,android development tool.
Run Eclipse and at the top of the toolbar, choose Help, Install New software:
The following interface appears, entering https://dl.google.com/android.eclipse/ after work with , enter: (android-in the figure indicates name, can not)
The following screen will appear after the carriage return, tick the following two name, then click Next.
The rest of the Next,accept,yes has been a little bit down ... When you reboot, it's time to reboot.
5. Configuring ADT
After a general reboot you will be prompted to configure ADT, and if not, you can click on the toolbar above eclipse to select Window-Preferences
On the left of the Preferences dialog box, select the Android tab, and the right SDK location will be followed by the directory where the SDK is located. My directory is/home/shirleylvlj/androids-sdk (the directory you just unzipped should be/opt/android-sdk-linux, then it seems to have modified the directory), then click Apply, then click OK.
Once installed, you can use the Help-and checkfor Updates option to keep ADT up-to-date.
6. Add Android System and tools
On the Eclipse toolbar, choose Windows---Android SDK Manager
(If this option is not available, click Window->customize Perspective->command Groups avaliability, tick the android SDK and AVD Manager)
After you open the dialog box, select what you want to install
By default, Android SDK Tools is installed.
Android SDK Platform-tools is the first to be selected, and then at least one system needs to be selected, such as Android 4.4.2 (API 19) and so on, to simulate the program.
Then is the Extras folder, many textbooks have recommended installation. (can be installed as needed)
Next, click Accept License, then install on it.