App crashing when trying to add the EMDK as a dependency.

I have setup the EMDK for Android Studio as "Importing EMDK lib Jar as a Module" by following the steps at the following url EMDK For Android Setup (Android Studio1.0.x) - Zebra Technologies Techdocs

Build .gradle contains the following :

compile project(':com.symbol.emdk')

Crash reason :

Check failed: called != nullptr int java.lang.Enum.ordinal() com.symbol.emdk.EMDKManager$FEATURE_TYPE[]


When the gradle is changed to

provided project(':com.symbol.emdk')

It is unable to import com.symbol.emdk.barcode.Scanner;


unable to import if the gradle is changed to

dependencies {
provided fileTree
(include: ['com.symbol.emdk.jar'], dir: '/Users/<YOUR USERNAME>/Library/Android/sdk/add-ons/addon-symbol_emdk-symbol-19/libs')
compile fileTree
(exclude: ['com.symbol.emdk.jar'], dir: 'libs')