我试图在Android 7.0上运行的Genymotion模拟器上使用Appium检查器。但是,当我转到 Android设置时,平台版下只列出API级别22(即Android 5.1)。
只是为了踢,我试图选择API 22并启动检查器但是我收到以下错误:
[AndroidDriver]错误:无法找到活动设备或模拟器 使用OS 5.1。以下是:192.168.56.101:5555(7.0) at Object.wrappedLogger.errorAndThrow(lib / logger.js:60:13) at Object.callee $ 0 $ 0 $(lib / android-helpers.js:154:16) 在tryCatch(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) 在GeneratorFunctionPrototype.invoke [as _invoke](/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) 在GeneratorFunctionPrototype.prototype。(匿名函数)[如下] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) 在GeneratorFunctionPrototype.invoke(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) 在运行时(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47) at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28 在flush(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5) at _combinedTickCallback(internal / process / next_tick.js:67:7) at process._tickCallback(internal / process / next_tick.js:98:9)[错误:无法找到OS 5.1的活动设备或模拟器。该 以下是:192.168.56.101:5555(7.0)]
[debug] [AndroidDriver]关闭Android驱动程序
[MJSONWP]遇到内部错误运行命令:错误:无法执行 找到OS 5.1的活动设备或模拟器。以下是 可用:192.168.56.101:5555(7.0) at Object.wrappedLogger.errorAndThrow(lib / logger.js:60:13) at Object.callee $ 0 $ 0 $(lib / android-helpers.js:154:16) 在tryCatch(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) 在GeneratorFunctionPrototype.invoke [as _invoke](/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) 在GeneratorFunctionPrototype.prototype。(匿名函数)[如下] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) 在GeneratorFunctionPrototype.invoke(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) 在运行时(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47) at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28 在flush(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5) at _combinedTickCallback(internal / process / next_tick.js:67:7) at process._tickCallback(internal / process / next_tick.js:98:9)
[AndroidDriver]无法关闭Android驱动程序;它已经关闭了 向下
顺便说一句,我在macOS Sierra(10.12.1)上运行Appium 1.5.3,并且还设置了安装在高级标签。
有什么方法可以将API 24包含在此列表中吗?