Error While launching Appium- Unhandled error:Error: ENOENT, no such file or directory -


i using appium 1.3.7. on windows .it working few days today when accessed it gave me error

unhandled error: error: enoent, no such file or directory.

i googled , came know may because of environmental variables. have set android_home , path correctly. upgraded 1.4.0. still same error.

logs:

starting node server info: welcome appium v1.3.7 (rev 72fbfaa116d3d9f6a862600ee99cf02f6d0e2182) info: appium rest http interface listener started on 127.0.0.1:4723 info: [debug] non-default server args: {"address":"127.0.0.1","noreset":true,"lognocolors":true,"platformname":"android","platformversion":"18","automationname":"appium"} info: console loglevel: debug info: --> post /wd/hub/session {"desiredcapabilities":{"platform":"android","devicename":"android","platformname":"android","appactivity":"com.android.mms.ui.conversationcomposer","apppackage":"com.android.mms","version":""}} info: client user-agent string: apache-httpclient/4.3.2 (java 1.5) info: [debug] following desired capabilities provided, not recognized appium. passed on other services running on server. : platform, version info: [debug] didn't app did android package, attempt launch on device info: [debug] creating new appium session 21b1fc22-a8bc-4ae7-8969-d0d5b101dbe0 info: starting android appium info: [debug] getting java version info: java version is: 1.8.0_40 info: [debug] checking whether adb present error: unhandled error: error: enoent, no such file or directory 'd:\android-sdks;\build-tools' @ object.fs.readdirsync (fs.js:654:18) @ exports.getdirectories (c:\program files\appium\node_modules\appium\node_modules\appium-adb\lib\helpers.js:100:18) @ adb.checksdkbinarypresent (c:\program files\appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:97:25) @ adb.checkadbpresent (c:\program files\appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:134:8) @ function.adb.createadb (c:\program files\appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:73:7) @ androidcommon.initadb (c:\program files\appium\node_modules\appium\lib\devices\android\android-common.js:1059:9) @ c:\program files\appium\node_modules\appium\node_modules\async\lib\async.js:610:21 @ c:\program files\appium\node_modules\appium\node_modules\async\lib\async.js:249:17 @ iterate (c:\program files\appium\node_modules\appium\node_modules\async\lib\async.js:149:13) @ c:\program files\appium\node_modules\appium\node_modules\async\lib\async.js:160:25 context: [post /wd/hub/session {"desiredcapabilities":{"platform":"android","devicename":"android","platformname":"android","appactivity":"com.android.mms.ui.conversationcomposer","apppackage":"com.android.mms","version":""}}] 

you have error in path d:\android-sdks;\build-tools have change

d:\android-sdks\build-tools 

Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -