I am new to Appium, I have setup everything, but it is giving me the following error.
info: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] Using local app from desired caps: /home/dell/workspace/Theatro/apk/com.whatsapp_v2.12.438-450897_Android-2.1.apk
info: [debug] Creating new appium session 8e4c1c9c-ecd4-4e23-89ba-298c1127dfd9
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_66
info: [debug] Checking whether adb is present
error: Unhandled error: Error: ENOENT: no such file or directory, scandir â/home/dell/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dell/Downloads/node-v5.5.0-linux-x64/bin:/home/dell/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dell/Downloads/node-v5.5.0-linux-x64/bin:/home/dell/workspace/Android/android-sdk-linux/tools:/home/dell/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dell/Downloads/node-v5.5.0-linux-x64/bin:/home/dell/workspace/Android/android-sdk-linux/platform-tools:/home/dell/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dell/Downloads/node-v5.5.0-linux-x64/bin:/home/dell/workspace/Android/android-sdk-linux/build-tools/23.0.2:/home/dell/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dell/Downloads/node-v5.5.0-linux-x64/bin:/home/dell/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dell/Downloads/node-v5.5.0-linux-x64/bin:/home/dell/workspace/Android/android-sdk-linux/tools:/home/dell/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dell/Downloads/node-v5.5.0-linux-x64/bin:/home/dell/workspace/Android/android-sdk-linux/platform-tools:/home/dell/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dell/Downloads/node-v5.5.0-linux-x64/bin:/home/dell/workspace/Android/android-sdk-linux/build-tools/23.0.2:/usr/lib/jvm/java-8-oracle/jre/bin:home/dell/.linuxbrew/bin:/home/dell/Downloads/node-v5.5.0-linux-x64/bin:/home/dell/workspace/Android/android-sdk-linux/build-toolsâ
at Error (native)
at Object.fs.readdirSync (fs.js:856:18)
at exports.getDirectories (/home/dell/.linuxbrew/lib/node_modules/appium/node_modules/appium-adb/lib/helpers.js:100:18)
at [object Object].ADB.checkSdkBinaryPresent (/home/dell/.linuxbrew/lib/node_modules/appium/node_modules/appium-adb/lib/adb.js:97:25)
at [object Object].ADB.checkAdbPresent (/home/dell/.linuxbrew/lib/node_modules/appium/node_modules/appium-adb/lib/adb.js:134:8)
at Function.ADB.createADB (/home/dell/.linuxbrew/lib/node_modules/appium/node_modules/appium-adb/lib/adb.js:73:7)
I m struggling with this issue for the past few days, didnât get any solution till now. Please help. Thanks in advance