- I am trying to inspect android app.
- I already inspected android app using appium.
- Today, I tried to inspect app and I am getting below error.
- Can anybody help me sort out, how to upgrade API Level 17?
- I am using appium version as 1.4.8(draco).
Launching Appium with command: ‘/Applications/Appium .app/Contents/Resources/node/bin/node’ lib/server/main.js --command-timeout “7200” --pre-launch --debug-log-spacing --automation-name “Appium” --platform-name “Android” --platform-version “4.4” --app “/Users/al/work/sample.apk” --app-pkg “com.vr.droid.sample” --app-wait-package “com.vr.droid.sample” --device-name “Android”
info: [debug] Starting Appium in pre-launch mode
info: Pre-launching app
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] Using local app from command line: /Users/al/work/sample.apk
info: [debug] Creating new appium session 5a775504-8b2e-497a-bb33-ae68e5dfc774
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_31
info: [debug] Checking whether adb is present
info: [debug] Using adb from /Users/al/work/software/android-sdk-macosx/platform-tools/adb
info: [debug] Parsing package and activity from app manifest
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from /Users/al/work/software/android-sdk-macosx/build-tools/22.0.1/aapt
info: [debug] Extracting package and launch activity from manifest.
info: [debug] executing cmd: /Users/al/work/software/android-sdk-macosx/build-tools/22.0.1/aapt dump badging /Users/al/work/sample.apk
info: [debug] badging package: com.vr.droid.sample
info: [debug] badging act: com.vr.droid.sample.v2.SplashActivity
info: [debug] Parsed package and activity are: com.vr.droid.sample/com.vr.droid.sample.v2.SplashActivity
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices…
info: [debug] executing cmd: /Users/al/work/software/android-sdk-macosx/platform-tools/adb devices
info: [debug] 2 device(s) connected
info: Found device c161f7b3838f670
info: [debug] Setting device id to c161f7b3838f670
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: /Users/al/work/software/android-sdk-macosx/platform-tools/adb -s c161f7b3838f670 wait-for-device
info: [debug] executing cmd: /Users/al/work/software/android-sdk-macosx/platform-tools/adb -s c161f7b3838f670 shell “echo ‘ready’”
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: /Users/al/work/software/android-sdk-macosx/platform-tools/adb -s c161f7b3838f670 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 16
info: Device API level is: 16
error: Android devices must be of API level 17 or higher. Please change your device to Selendroid or upgrade Android on your device.
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] Sent shutdown command, waiting for UiAutomator to stop…