Receiving error when starting Appium server on Windows

Hey everyone,

I’m trying to use Appium, but it seems that I may have some configuration issues. Can anyone help me with the following error?

error: uncaughtException: ENOENT, no such file or directory ‘C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\build-tools’ date=Wed Apr 01 2015 16:15:09 GMT+0300 (GTB Daylight Time), pid=2208, uid=null, gid=null, cwd=C:\Appium\node_modules\appium, execPath=C:\Appium\node.exe, version=v0.10.26, argv=[C:\Appium\node.exe, C:\Appium\node_modules\appium\lib\server\main.js, --address, 127.0.0.1, --port, 4723, --app, C:\Users\alexandru.dumitru\Downloads\AviraAndroidSecurity-v4.0(build-3470)-google-play-release.apk, --pre-launch, --platform-name, Android, --platform-version, 19, --automation-name, Appium, --log-no-color], rss=48705536, heapTotal=37033856, heapUsed=16664304, loadavg=[0, 0, 0], uptime=25897.7174232, trace=[column=18, file=fs.js, function=Object.fs.readdirSync, line=654, method=fs.readdirSync, native=false, column=18, file=C:\Appium\node_modules\appium\node_modules\appium-adb\lib\helpers.js, function=exports.getDirectories, line=99, method=getDirectories, native=false, column=25, file=C:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js, function=ADB.checkSdkBinaryPresent, line=89, method=checkSdkBinaryPresent, native=false, column=8, file=C:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js, function=ADB.checkAdbPresent, line=126, method=checkAdbPresent, native=false, column=30, file=C:\Appium\node_modules\appium\lib\devices\android\android-common.js, function=, line=325, method=null, native=false, column=21, file=C:\Appium\node_modules\appium\node_modules\async\lib\async.js, function=null, line=610, method=null, native=false, column=17, file=C:\Appium\node_modules\appium\node_modules\async\lib\async.js, function=null, line=249, method=null, native=false, column=13, file=C:\Appium\node_modules\appium\node_modules\async\lib\async.js, function=iterate, line=149, method=null, native=false, column=25, file=C:\Appium\node_modules\appium\node_modules\async\lib\async.js, function=null, line=160, method=null, native=false, column=21, file=C:\Appium\node_modules\appium\node_modules\async\lib\async.js, function=null, line=251, method=null, native=false], stack=[Error: ENOENT, no such file or directory ‘C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\build-tools’, at Object.fs.readdirSync (fs.js:654:18), at exports.getDirectories (C:\Appium\node_modules\appium\node_modules\appium-adb\lib\helpers.js:99:18), at ADB.checkSdkBinaryPresent (C:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:89:25), at ADB.checkAdbPresent (C:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:126:8), at null. (C:\Appium\node_modules\appium\lib\devices\android\android-common.js:325:30), at C:\Appium\node_modules\appium\node_modules\async\lib\async.js:610:21, at C:\Appium\node_modules\appium\node_modules\async\lib\async.js:249:17, at iterate (C:\Appium\node_modules\appium\node_modules\async\lib\async.js:149:13), at C:\Appium\node_modules\appium\node_modules\async\lib\async.js:160:25, at C:\Appium\node_modules\appium\node_modules\async\lib\async.js:251:21]

Thanks!

Nevermind, I fixed it by copying build-tools folder into C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\ but also adb.exe.