AirtestProject / AirtestProject/Poco

RuntimeError: unable to launch AndroidUiautomationPoco

Open
#227 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

* 控件识别、树状结构、poco库报错 -> 此仓库

**描述问题bug**
调用 AndroidUiautomationPoco(device=self.device) poco初始化时会一直输出still waiting for uiautomation ready。最后报错unable to launch AndroidUiautomationPoco
```
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
serialno is : 24f0f0d4
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 wait-for-device
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 wait-for-device
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.build.version.sdk
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.build.version.sdk
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap.so
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap.so
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -v 2>&1
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -v 2>&1
[02:32:08][DEBUG] version:5
DEBUG:airtest.core.android.minicap:version:5
[02:32:08][DEBUG] skip install minicap
DEBUG:airtest.core.android.minicap:skip install minicap
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
serialno is : 24f0f0d4
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 wait-for-device
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 wait-for-device
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.build.version.sdk
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.build.version.sdk
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap.so
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap.so
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -v 2>&1
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -v 2>&1
[02:32:08][DEBUG] version:5
DEBUG:airtest.core.android.minicap:version:5
[02:32:08][DEBUG] skip install minicap
DEBUG:airtest.core.android.minicap:skip install minicap
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 forward --no-rebind tcp:13869 localabstract:minicap_13869
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 forward --no-rebind tcp:13869 localabstract:minicap_13869
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -n 'minicap_13869' -P 1080x1920@480x800/0 -l 2>&1
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -n 'minicap_13869' -P 1080x1920@480x800/0 -l 2>&1
[02:32:08][DEBUG] [minicap_server]b'PID: 8853'
DEBUG:airtest.utils.nbsp:[minicap_server]b'PID: 8853'
[02:32:08][DEBUG] [minicap_server]b'INFO: Using projection 1080x1920@450x800/0'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: Using projection 1080x1920@450x800/0'
[02:32:08][DEBUG] [minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:241) Creating SurfaceComposerClient'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:241) Creating SurfaceComposerClient'
[02:32:08][DEBUG] [minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:244) Performing SurfaceComposerClient init check'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:244) Performing SurfaceComposerClient init check'
[02:32:08][DEBUG] [minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:255) Creating virtual display'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:255) Creating virtual display'
[02:32:08][DEBUG] [minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:261) Creating buffer queue'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:261) Creating buffer queue'
[02:32:08][DEBUG] [minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:264) Setting buffer options'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:264) Setting buffer options'
[02:32:08][DEBUG] [minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:268) Creating CPU consumer'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:268) Creating CPU consumer'
[02:32:08][DEBUG] [minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:272) Creating frame waiter'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:272) Creating frame waiter'
[02:32:08][DEBUG] [minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:276) Publishing virtual display'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (external/MY_minicap/src/minicap_26.cpp:276) Publishing virtual display'
[02:32:08][DEBUG] [minicap_server]b'INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 6268932 bytes for JPG encoder'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 6268932 bytes for JPG encoder'
[02:32:08][DEBUG] [minicap_server]b'INFO: (/home/lxn3032/minicap_for_ide/jni/minicap/minicap.cpp:473) Server start'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (/home/lxn3032/minicap_for_ide/jni/minicap/minicap.cpp:473) Server start'
[02:32:08][DEBUG] (1, 24, 8853, 1080, 1920, 450, 800, 0, 2)
DEBUG:airtest.core.android.minicap:(1, 24, 8853, 1080, 1920, 450, 800, 0, 2)
[02:32:08][DEBUG] [minicap_server]b'INFO: (/home/lxn3032/minicap_for_ide/jni/minicap/minicap.cpp:475) New client connection'
DEBUG:airtest.utils.nbsp:[minicap_server]b'INFO: (/home/lxn3032/minicap_for_ide/jni/minicap/minicap.cpp:475) New client connection'
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
[02:32:08][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb devices
serialno is : 24f0f0d4
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 wait-for-device
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 wait-for-device
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.build.version.sdk
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.build.version.sdk
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.product.cpu.abi
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.product.cpu.abi
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.build.version.sdk
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell getprop ro.build.version.sdk
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minitouch
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minitouch
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls -l /data/local/tmp/minitouch
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls -l /data/local/tmp/minitouch
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell rm /data/local/tmp/minitouch*
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell rm /data/local/tmp/minitouch*
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 push /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/stf_libs/arm64-v8a/minitouch /data/local/tmp/minitouch
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 push /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/stf_libs/arm64-v8a/minitouch /data/local/tmp/minitouch
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell chmod 755 /data/local/tmp/minitouch
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell chmod 755 /data/local/tmp/minitouch
[02:32:09][INFO] install_minitouch finished
INFO:airtest.core.android.minitouch:install_minitouch finished
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap.so
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ls /data/local/tmp/minicap.so
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -v 2>&1
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -v 2>&1
[02:32:09][DEBUG] version:5
DEBUG:airtest.core.android.minicap:version:5
[02:32:09][DEBUG] skip install minicap
DEBUG:airtest.core.android.minicap:skip install minicap
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 forward --no-rebind tcp:14515 localabstract:minitouch_14515
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 forward --no-rebind tcp:14515 localabstract:minitouch_14515
[02:32:09][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell /data/local/tmp/minitouch -n 'minitouch_14515' 2>&1
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell /data/local/tmp/minitouch -n 'minitouch_14515' 2>&1
[02:32:09][DEBUG] [minitouch_server]b'Note: device /dev/input/mouse0 is not supported by libevdev'
DEBUG:airtest.utils.nbsp:[minitouch_server]b'Note: device /dev/input/mouse0 is not supported by libevdev'
[02:32:09][DEBUG] [minitouch_server]b'Note: device /dev/input/mice is not supported by libevdev'
DEBUG:airtest.utils.nbsp:[minitouch_server]b'Note: device /dev/input/mice is not supported by libevdev'
[02:32:10][DEBUG] [minitouch_server]b'Type B touch device synaptics,s3320 (1079x1919 with 10 contacts) detected on /dev/input/event3 (score 22447)'
DEBUG:airtest.utils.nbsp:[minitouch_server]b'Type B touch device synaptics,s3320 (1079x1919 with 10 contacts) detected on /dev/input/event3 (score 22447)'
[02:32:10][DEBUG] minitouch header:b'v 1\n^ 10 1079 1919 0\n$ 8888\n'
DEBUG:airtest.core.android.minitouch:minitouch header:b'v 1\n^ 10 1079 1919 0\n$ 8888\n'
[02:32:10][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -i
[02:32:10][DEBUG] [minitouch_server]b'Connection established'
DEBUG:airtest.utils.nbsp:[minitouch_server]b'Connection established'
[02:32:10][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys activity top
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys activity top
[02:32:10][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.nie.yosemite
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.nie.yosemite
[02:32:10][INFO] local version code is 287, installed version code is 287
INFO:airtest.core.android.yosemite:local version code is 287, installed version code is 287
[02:32:10][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell settings get secure default_input_method
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell settings get secure default_input_method
[02:32:10][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ime list -a
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ime list -a
[02:32:10][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.open.pocoservice
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.open.pocoservice
installed version is None, installer version is 39. force_reinstall=False
[02:32:10][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 install /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/poco/drivers/android/lib/pocoservice-debug.apk
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 install /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/poco/drivers/android/lib/pocoservice-debug.apk
[02:32:12][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.open.pocoservice.test
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.open.pocoservice.test
installed version is 0, installer version is 0. force_reinstall=True
[02:32:12][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 install -r /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/poco/drivers/android/lib/pocoservice-debug-androidTest.apk
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 install -r /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/poco/drivers/android/lib/pocoservice-debug-androidTest.apk
[02:32:13][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 forward --no-rebind tcp:12360 tcp:10080
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 forward --no-rebind tcp:12360 tcp:10080
[02:32:13][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 forward --no-rebind tcp:15816 tcp:10081
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 forward --no-rebind tcp:15816 tcp:10081
[02:32:13][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ps
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell ps
[02:32:13][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am force-stop com.netease.open.pocoservice
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am force-stop com.netease.open.pocoservice
[02:32:13][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am start -n com.netease.open.pocoservice/.TestActivity
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am start -n com.netease.open.pocoservice/.TestActivity
[02:32:13][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
[02:32:25][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 uninstall com.netease.open.pocoservice
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 uninstall com.netease.open.pocoservice
[02:32:25][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.open.pocoservice
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.open.pocoservice
installed version is None, installer version is 39. force_reinstall=False
[02:32:26][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 install /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/poco/drivers/android/lib/pocoservice-debug.apk
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 install /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/poco/drivers/android/lib/pocoservice-debug.apk
[02:32:27][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.open.pocoservice.test
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys package com.netease.open.pocoservice.test
[02:32:27][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 install -r /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/poco/drivers/android/lib/pocoservice-debug-androidTest.apk
installed version is 0, installer version is 0. force_reinstall=True
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 install -r /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/poco/drivers/android/lib/pocoservice-debug-androidTest.apk
[02:32:28][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am force-stop com.netease.open.pocoservice
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am force-stop com.netease.open.pocoservice
[02:32:28][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am start -n com.netease.open.pocoservice/.TestActivity
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am start -n com.netease.open.pocoservice/.TestActivity
[02:32:28][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
still waiting for uiautomation ready.
[02:32:40][DEBUG] /Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys activity top
DEBUG:airtest.core.android.adb:/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 24f0f0d4 shell dumpsys activity top
still waiting for uiautomation ready.
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/Users/crystalzhu/AutoTest/StellarMobile/stellar/server/action/android/android_touch_action.py", line 186, in get_hierarchy
self.poco = AndroidUiautomationPoco(device=self.device) # poco初始化
File "/Users/crystalzhu/AutoTest/StellarMobile/lib/python3.7/site-packages/poco/drivers/android/uiautomation.py", line 179, in __init__
raise RuntimeError("unable to launch AndroidUiautomationPoco")
RuntimeError: unable to launch AndroidUiautomationPoco
```

**python 版本:** `python3.6`

**poco 版本:** `0.96.4`

**设备:**
- 型号: OnePlus 3T
- 系统: [e.g. Android 8.0]

**运行环境** `运行环境mac`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.