Hello,
my System:Win 10Android Studio 3.1.4
Installed EMDK 6.9
if i click on build i get a error messageFailed to find target with hash string 'Zebra Technologies Corp:EMDK APIs:26' in: C:\Users\user\AppData\Local\Android\Sdk
and if i insert regarding the info from the web the provided solution:
fileTree(include: ['com.symbol.emdk.jar'], dir: 'C:\\Users\\user\\AppData\\Local\\Android\\Sdk\\add-ons\\addon-symbol_emdk-symbol-26\\libs')
in the file build.gradle
i get this error:
Could not find method provided() for arguments [directory 'C:\Users\user\AppData\Local\Android\Sdk\add-ons\addon-symbol_emdk-symbol-26\libs'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
anybody a good idea how i can solve that :-(
regards
1 Replies
Hi,
I have seen this myself using Android Studio 3.1 but I was not sure if it was just something wrong with my setup.
2 suggestions:
* Use the sdk.dir property - Please see one of my sample projects for an example: WakeLock_WifiLock_Exerciser/build.gradle at master · darryncampbell/WakeLock_WifiLock_Exerciser · GitHub
* Use EMDK from Gradle, as shown in this project: RetailAssistant/build.gradle at master · darryncampbell/RetailAssistant · GitHub . The Gradle distribution is not yet officially supported but if you just want something working this is the easiest way