Installing Eclipse
- Go to https://eclipse.org/downloads/.
- Download Eclipse IDE for Java Developers 3.7.2 (Indigo) or greater.
- Make a note of the name and location where you save the Eclipse on your system. You will need to refer to the Eclipse directory later when installing EMDK for Android.
NOTE: Eclipse 3.6 (Helios) is no longer supported with the latest version of ADT.
Installing ADT Plugin to Eclipse
NOTE: Since Google has released Android Studio, the ADT Bundle is no longer available for download. You will need to install Eclipse with the ADT Plug-In instead.
Start Eclipse, then select Help : Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter ADT Plugin for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/
NOTE: The Android Developer Tools update site requires a secure connection. Make sure the update site URL you enter starts with HTTPS.
Click OK.
In the Available Software dialog, select the check box next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
NOTE: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
NOTE: EMDK for Android requires ADT v22.3.0-887826 or higher version.
Installing Android SDK
- Go to https://developer.android.com/sdk/index.html.
- Click on the hyperlink Other Download Options or scroll down towards the section Other Download Options.
- Look for the table under sub section SDK Tools Only.
- Click on the Package installer_r24-windows.exe under Platform Windows.
- Accept the License Agreement.
- Click on the button Download installer_r24-windows.exe.
- Double-click the downloaded executable to start the installation.
- Make a note of the name and location where you save the Android SDK on your system, as you will need to refer to the standalone Android SDK directory later when installing EMDK for Android.
Configuring the Android Developer Tools (ADT) for EMDK
The EMDK requires Android API's 16 and 19 to be Installed.
To check which API's you have installed:
- In Eclipse go to Window then Android SDK Manager
- Check that the status of Android 1.1.2 (API 16) and Android 4.4.2 (API 19) SDK Platforms status is Installed.
- If either SDK platform is not installed check the SDK check mark, click Install Packages, and follow the on screen instructions. When the install is complete restart Eclipse.
Installing EMDK for Android
Install version 4.0
Run the EMDK 4.0 Installer as Administrator, Then Click Next.
Click I Agree after reading the License Agreement to continue the installation.
Click next or select a custom install location by clicking Browse and then click next.
Continue installing EMDK for Android in Eclipse by selecting the "Use Eclipse/ADT" radio button and then Click Next.
If you are installing the EMDK into a ADT Bundle select the first radio button , then click next.
NOTE: If you are installing the EMDK into a standalone version of Eclipse that has the ADT plugin installed Skip to STEP #7
Select the root folder of your ADT Bundle installation b clicking Browse, then Click Install.
If you are installing the EMDK into a standalone version of Eclipse that has the ADT plugin installed, select the second radio button ( As Shown ), then click next.
Browse for or manually enter paths to the root of both your Eclipse folder and Android SDK folder, then Click Install.
Manually Remove EMDK for Android
In most cases running the uninstall program will cleanly remove EMDK For Android from your PC. If the uninstall fails for whatever reason, you may not be able to reinstall. The following directions will allow you to cleanly uninstall all components of the EMDK For Android. Follow the step by step instructions below:
1. Removing installed EMDK directory
- Open command prompt, type regedt32 and press Enter.
- In Registry Editor, locate the following registry key:
- On 32-Bit OS [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall]
- On 64-Bit OS [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion \Uninstall]
- Each key listed under Uninstall in the left pane of Registry Editor represents a program that is currently installed. Scroll through and identify the registry key that has the name EMDK for Android (See Fig.01 or Fig.02).
- Fig.01
- Fig.02
Under key EMDK for Android look for the value UninstallString in the details pane on the right and identify the EMDK for Android installation path (i.e. the parent directory where uninstall.exe resides. See Fig.01 or Fig.02).
Locate and delete the Symbol EMDK for Android folder, subfolders and files.
2. Removing installed EMDK samples directory
- Locate and delete the Symbol EMDK for Android folder available at Users\Public.
3. Removing installed EMDK short cuts under Start Programs
- Locate and delete the following folder available at
All Users\Start Menu\Programs :
- Symbol EMDK for Android vX.X where vX.X = Base version of the Installation.
- Example: v3.0 when you have installed EMDK for Android v3.0
- Additionally on Windows 8 and Windows 8.1, locate and delete the following .lnk file available at
All Users\Start Menu\Programs :
- Symbol EMDK for Android vX.X.lnk where vX.X = Base version of the Installation.
- Example: v3.0 when you have installed EMDK for Android v3.0
4. Removing installed EMDK plug-in and add-on from ADT/ Eclipse IDE and Android SDK
Note: Make sure to close all the Android Developer Tools (ADT)/ Eclipse IDE windows before proceeding.
- For ADT Bundle users, under key EMDK for Android look for the value ADTRootFolder in the details pane on the right and identify the ADT Bundle root folder (see Fig.01).
- Locate and remove the Eclipse plug-in and SDK add-on installed by EMDK as below:
- Go to \
\eclipse\plugins and delete com.symbol.emdkwizard_x.x.x.jar file and EMDK folder. - Go to \
\sdk\add-ons and delete addon-symbol-emdk_vX.X_API-16 and addon-symbol-emdk_vX.X_API-19 folders.
For Non ADT Bundle users, under key EMDK for Android look for the values EclipseRootFolder and SDKRootFolder in the details pane on the right and identify the Eclipse and SDK root folders installed separately (see Fig.02).
Locate and remove the Eclipse plug-in and SDK add-on installed by EMDK as below:
- Go to \
\plugins and delete com.symbol.emdkwizard_x.x.x.jar file and EMDK folder. - Go to \
\sdk\add-ons and delete addon-symbol-emdk_vX.X_API-16 and addon-symbol-emdk_vX.X_API-19 folders.
5. Removing installed EMDK registry settings
- In Registry Editor, locate the following registry key:
- On 32-Bit OS [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall]
- On 64-Bit OS [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall]
Right-click on the EMDK for Android key in the left pane and then click Delete. Click Yes to the prompt Are you sure you want to delete this key and all of its subkeys?.
If you have installed EMDK updates, scroll through and identify the following registry key:
- EMDK for Android vX.X Update(X) where vX.X = Base version of the Installation.
- Example: v3.0 when you have installed EMDK for Android v3.0
- Update(X) Update version only if an update is installed.
- Example: Update1 when you have installed EMDK for Android v3.0 Update1.
- Right-click on the above key and then click Delete. Click Yes to the prompt Are you sure you want to delete this key and all of its subkeys?.
Using EMDK as an external library in Eclipse
Adding EMDK library as an external jar
Go to File menu and select Properties.
Select Android from left-pane.
Specify the intended target (except EMDK) under Project Build Target and click Apply.
Select Java Build Path from left-pane.
Select Libraries (tab) from right-pane.
Click Add External JARs.
Browse and specify the com.symbol.emdk.jar available under integrated EMDK sdk add-on (ex:
\sdk\add-ons\addon-symbol-emdk_vx.x_API-16\libs\com.symbol.emdk.jar ).
Enabling intellisense for EMDK
Click on the arrow and expand the options of com.symbol.emdk.jar (above screen).
Select Javadoc location from the drop down list.
Click Edit…
Click Browse and specify the Javadoc available under EMDK sdk add-on (ex: *
\sdk\add-ons\addon-symbol-emdk_vx.x_API-16\docs\reference* ).Click Validate…
The specified Javadoc path will be validated and shows the following message if successful.
Click Apply and OK.
Now the intellisense for EMDK is enabled.
To verify, type any EMDK class/interface/method name (ex: EMDKListener) and press F2.