android not on raspiberry pi then how to overcome this
[Appium] Welcome to Appium v2.11.3
[Appium] The autodetected Appium home path: /home/ats/.appium
[Appium] Attempting to load driver uiautomator2…
[Appium] Requiring driver at /home/ats/.appium/node_modules/appium-uiautomator2-driver/build/index.js
[Appium] AndroidUiautomator2Driver has been successfully loaded in 0.750s
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLs in your client code to connect to this server:
http://127.0.0.1:4723/ (only accessible from the same host)
http://192.168.240.59:4723/
[Appium] Available drivers:
[Appium] - [email protected] (automationName ‘UiAutomator2’)
[Appium] No plugins have been installed. Use the “appium plugin” command to install the one(s) you want to use.
[HTTP] Request idempotency key: cca78b45-1929-47e0-8532-feff575fad99
[HTTP] → POST /session {“capabilities”:{“firstMatch”:[{}],“alwaysMatch”:{“platformName”:“Android”,“appium:udid”:“ZD2228J8J5”,“appium:automationName”:“UiAutomator2”,“appium:ensureWebviewsHavePages”:true,“appium:nativeWebScreenshot”:true,“appium:newCommandTimeout”:3600,“appium:connectHardwareKeyboard”:true}}}
[AppiumDriver@9862] Calling AppiumDriver.createSession() with args: [null,null,{“firstMatch”:[{}],“alwaysMatch”:{“platformName”:“Android”,“appium:udid”:“ZD2228J8J5”,“appium:automationName”:“UiAutomator2”,“appium:ensureWebviewsHavePages”:true,“appium:nativeWebScreenshot”:true,“appium:newCommandTimeout”:3600,“appium:connectHardwareKeyboard”:true}}]
[AppiumDriver@9862] Event ‘newSessionRequested’ logged at 1723787267802 (11:17:47 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName ‘UiAutomator2’ and platformName ‘Android’
[Appium] The ‘uiautomator2’ driver was installed and matched caps.
[Appium] Will require it at /home/ats/.appium/node_modules/appium-uiautomator2-driver
[Appium] Requiring driver at /home/ats/.appium/node_modules/appium-uiautomator2-driver/build/index.js
[AppiumDriver@9862] Appium v2.11.3 creating new AndroidUiautomator2Driver (v3.7.7) session
[AppiumDriver@9862] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@9862] Appium’s BaseDriver version is 9.11.3
[AppiumDriver@9862] AndroidUiautomator2Driver’s BaseDriver version is 9.11.3
[AndroidUiautomator2Driver@3b4c]
[AndroidUiautomator2Driver@3b4c] Creating session with W3C capabilities: {
“alwaysMatch”: {
“platformName”: “Android”,
“appium:udid”: “ZD2228J8J5”,
“appium:automationName”: “UiAutomator2”,
“appium:ensureWebviewsHavePages”: true,
“appium:nativeWebScreenshot”: true,
“appium:newCommandTimeout”: 3600,
“appium:connectHardwareKeyboard”: true
},
“firstMatch”: [
{}
]
}
[AndroidUiautomator2Driver@3b4c] The following provided capabilities were not recognized by this driver:
[AndroidUiautomator2Driver@3b4c] connectHardwareKeyboard
[8bb56a70][AndroidUiautomator2Driver@3b4c] Session created with session id: 8bb56a70-32b6-4a7e-a481-0a70f23b85f1
[8bb56a70][ADB] Found 0 ‘build-tools’ folders under ‘/home/ats/android-sdk’ (newest first):
[8bb56a70][AndroidUiautomator2Driver@3b4c] Deleting UiAutomator2 session
[8bb56a70][AppiumDriver@9862] Event ‘newSessionStarted’ logged at 1723787267874 (11:17:47 GMT+0530 (India Standard Time))
[8bb56a70][AppiumDriver@9862] Encountered internal error running command: Error: Could not find ‘adb’ in [“/home/ats/android-sdk/platform-tools/adb”,“/home/ats/android-sdk/emulator/adb”,“/home/ats/android-sdk/cmdline-tools/latest/bin/adb”,“/home/ats/android-sdk/tools/adb”,“/home/ats/android-sdk/tools/bin/adb”,“/home/ats/android-sdk/adb”]. Do you have Android Build Tools installed at ‘/home/ats/android-sdk’?
at ADB.getBinaryFromSdkRoot (/home/ats/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-adb/lib/tools/system-calls.js:132:11)
at ADB.getSdkBinaryPath (/home/ats/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-adb/lib/tools/system-calls.js:47:10)
at ADB.getAdbWithCorrectAdbPath (/home/ats/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-adb/lib/tools/adb-commands.js:97:26)
at Function.createADB (/home/ats/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-adb/lib/adb.ts:87:5)
at createBaseADB (/home/ats/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-android-driver/lib/commands/device/utils.js:164:10)
at AndroidUiautomator2Driver.getDeviceInfoFromCaps (/home/ats/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-android-driver/lib/commands/device/common.js:25:15)
at AndroidUiautomator2Driver.createSession (/home/ats/.appium/node_modules/appium-uiautomator2-driver/lib/driver.ts:365:30)
at AppiumDriver.createSession (/usr/local/lib/node_modules/appium/lib/appium.js:731:35)
[8bb56a70][HTTP] ← POST /session 500 150 ms - 1182