1. appium 运行 py,一直循环输出信息,模拟器无反应
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformVersion":"6
.0","...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium]   platformVersion: '6.0'
[Appium]   deviceName: 'Android Emulator'
[Appium]   platformName: 'Android'
[Appium]   appActivity: '.Calculator'
[Appium]   appPackage: 'com.android.calculator2'
[BaseDriver] Session created with session id: f3284465-a9d5-47a6-82ac-d9696f106e
bc
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_101
[ADB] Checking whether adb is present
[ADB] Using adb.exe from F:\Android\android-sdk\platform-tools\adb.exe
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Looking for a device with Android 6.0
[debug] [ADB] Setting device id to emulator-5554
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running F:\Android\android-sdk\platform-tools\adb.exe with args: [
"-P",5037,"-s","emulator-5554","shell","getprop","ro.build.version.release"]
[AndroidDriver] Using device: emulator-5554
[ADB] Checking whether adb is present
[ADB] Using adb.exe from F:\Android\android-sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to emulator-5554
[AndroidDriver] App file was not listed, instead we're going to run com.android.
calculator2 directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running F:\Android\android-sdk\platform-tools\adb.exe with args: [
"-P",5037,"-s","emulator-5554","shell","pm","list","packages","com.android.calcu
lator2"]
[AndroidDriver] Starting Android session
[debug] [ADB] Running F:\Android\android-sdk\platform-tools\adb.exe with args: [
"-P",5037,"-s","emulator-5554","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running F:\Android\android-sdk\platform-tools\adb.exe with args: [
"-P",5037,"-s","emulator-5554","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running F:\Android\android-sdk\platform-tools\adb.exe with args: [
"-P",5037,"-s","emulator-5554","install","C:\\Users\\Administrator\\AppData\\Roa
ming\\npm\\node_modules\\appium\\node_modules\\appium-android-driver\\node_modul
es\\io.appium.settings\\bin\\settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running F:\Android\android-sdk\platform-tools\adb.exe with args: [
"-P",5037,"-s","emulator-5554","install","C:\\Users\\Administrator\\AppData\\Roa

求助,大神有么。麻烦帮忙看下呢


↙↙↙阅读原文可查看相关链接,并与作者交流