Starting with version 3.0, EMDK for Xamarin development tools are installed from NuGet packages and updated using the NuGet package management system. The EMDK-X NuGet package adds to Microsoft Visual Studio the API libraries required for building Android applications with Xamarin. The package must be added to any Android project before the APIs are available for use.
Zebra recommends using EMDK-X with Visual Studio 2017.
These instructions apply to:
- Visual Studio 2017 for Mac OS
- Visual Studio 2017 for Windows
Prerequisites
The following software is required to use EMDK for Xamarin:
Windows:
- Windows 7, 8, 8.1, 10 (32- or 64-bit)
- Java Development Kit (JDK) v7u45 or newer
- Visual Studio 2017 or Visual Studio 2015 (up to v15.5)
Mac OS:
- Mac OS X 10.11 (El Capitan) or newer
- Java for OS X 2014-10x or newer
- Java Development Kit (JDK) v7u75 or newer
- Visual Studio 2017 for Mac OS
NEW
(Xamarin Studio is no longer supported)
Attention Visual Studio 2015 users: EMDK for Xamarin supports Visual Studio 2015 only up to version 15.5. Upgrading to any newer version results in failure. Zebra recommends using Visual Studio 2017.
Install EMDK Plug-in
Windows
The following instructions apply to Visual Studio 2017. A supported version of Visual Studio must be installed to complete the steps below. If necessary, install Visual Studio 2017 before proceeding.
To install the NuGet package in Visual Studio 2017 for Windows:
- From within a project, right-click the project name and select "Manage NuGet Packages..." from the menu:
Click to enlarge; ESC to exit.
- Click "Browse" (if necessary) and enter "EMDK" in the search box. The Symbol.XamarinEMDK package appears:
Click to enlarge; ESC to exit.
- Select the package to show its info and Install button.
Then click "Install": Click to enlarge; ESC to exit. - Click the "I Accept" button to accept the license, if necessary.
Click to enlarge; ESC to exit.
- Repeat Steps 1–4 for each project that uses EMDK for Xamarin APIs.
The project is ready to use EMDK for Xamarin APIs.
Mac OS
The following instructions apply to Visual Studio 2017, which must be installed to complete the steps below. If necessary, install Visual Studio 2017 before proceeding.
To install the NuGet package in Visual Studio 2017 for Mac:
- In the project, select Project -> "Add NuGet Packages..."
Click to enlarge; ESC to exit.
- Enter "EMDK" in the search box. The Symbol.XamarinEMDK package appears:
Click to enlarge; ESC to exit.
- Select the package and click the "Add Package" button.
Click to enlarge; ESC to exit.
- Click "Accept" to accept the license when prompted:
Click to enlarge; ESC to exit.
The project is ready to use EMDK for Xamarin APIs.
Remove EMDK Plug-in
Windows
To remove the EMDK for Xamarin NuGet package from a Windows project:
From within a project, right-click the Symbol.XamarinEMDK
package and select "Remove" as below:
Mac OS
To remove the EMDK for Xamarin NuGet package from a Mac OS project:
From within a project, right-click the Symbol.XamarinEMDK
package and select "Remove" as below:
Click to enlarge; ESC to exit.