1 Reply Latest reply on Aug 2, 2016 5:45 AM by Pietro Francesco Maggi

    Error:Execution failed for task ':app:compileDebugAidl'

    Jesika Perez



      I am trying to develop in Android Studio a android aplicattion to get data from barcode with the emdk, follwing this tutorial:

      Data Capture Profile Feature Tutorial - Zebra Technologies Techdocs


      When i compile the app to generate .apk file and install on device (TC70), Android Studio show this error:

      Error:Execution failed for task ':app:compileDebugAidl'.> java.lang.IllegalStateException: aidl is missing


      This is my build.gradle:


      apply plugin: 'com.android.application'

      android {

        compileSdkVersion '"Symbol Technologies LLC":EMDK 4.0 (API 19):19'
         buildToolsVersion "19.1.0"

         defaultConfig {

        applicationId "com.symbol.barcode"
         minSdkVersion 16
         targetSdkVersion 19
         versionCode 1
         versionName "1.0"

        buildTypes {

        release {

        minifyEnabled false
         proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




      dependencies {

        testCompile 'junit:junit:4.12'
         compile 'com.android.support:appcompat-v7:19.+'
         provided fileTree(include: ['com.symbol.emdk.jar'], dir: 'C:\\Users\\jesika.perez\\AppData\\Local\\Android\\sdk\\add-ons\\addon-symbol-emdk_v4.0_API-19\\libs')

        compile fileTree(exclude: ['com.symbol.emdk.jar'], dir: 'libs')

        compile fileTree(include: ['*.jar'], dir: 'libs')