【问题标题】:I could not able to test API level below 17 in android using appium我无法使用 appium 在 android 中测试低于 17 的 API 级别
【发布时间】:2014-06-19 03:56:21
【问题描述】:

我想知道Android是否可以通过低于17的appium API级别?

对于许多网站和 appium 组,我发现如果我们使用“selendroid”,在功能“设备”而不是“android”中,我们可以运行 API 级别低于 17 的测试脚本。

但是当我尝试这样做时,当我提供功能设备时,我无法使用 appium 在 android 中测试低于 17 的 API 级别:Android 它适用于高于 17 的 API 级别,但是当我们提供设备时:selendroid 发生错误。最后给出的错误。

谁能帮我在android中使用appium运行API级别低于17的测试?

我正在使用更新的appium server v1.0.0-beta.2(即appium@0.18.2),使用真机Android 4.1.2版本测试,使用mac机器。

info: [ADB] 1 device(s) connected

info: Setting device id to 14c62c71

info: [ADB] Waiting for device to be ready and to respond to shell commands (timeout = 5)

debug: executing: /Users/gowtham.r/sdk/platform-tools//adb -s 14c62c71 wait-for-device

debug: executing: /Users/gowtham.r/sdk/platform-tools//adb -s 14c62c71 shell "echo 'ready'"

info: Starting logcat capture

info: Rebuilt selendroid apk does not exist, uninstalling any instances of it on device to make way for new one

info: Uninstalling com.dext.shoply.selendroid

debug: executing: /Users/gowtham.r/sdk/platform-tools//adb -s 14c62c71 shell "am force-stop com.dext.shoply.selendroid"

debug: executing: /Users/gowtham.r/sdk/platform-tools//adb -s 14c62c71 uninstall com.dext.shoply.selendroid

debug: App was not uninstalled, maybe it wasn't on device?

info: Rebuilt selendroid server does not exist, inserting modified manifest

info: Inserting selendroid manifest

info: Checking whether aapt is present

info: Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Could not find aapt; do you have the Android SDK installed and the tools + platform-tools folders added to your PATH?

【问题讨论】:

    标签: android eclipse automation junit4 appium


    【解决方案1】:

    您的错误是因为您的系统上没有安装某些东西。你应该看看为什么你没有安装“aapt”并从那里开始。可能需要打开 android sdk 安装程序并下载其他东西

    【讨论】:

      猜你喜欢
      • 2013-12-24
      • 1970-01-01
      • 1970-01-01
      • 2023-03-03
      • 2022-09-30
      • 2020-04-24
      • 1970-01-01
      • 2012-12-05
      • 2016-04-07
      相关资源
      最近更新 更多