摘要: 代码: <!DOCTYPE html><html lang="en"><head><base target="_self"><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="p 阅读全文
posted @ 2018-08-04 17:23 chengguanghua 阅读(5423) 评论(0) 推荐(1)
摘要: 查看连上的模拟器 adb devices 连接海马模拟器 adb connect 127.0.0.1:26944 阅读全文
posted @ 2017-12-14 11:25 chengguanghua 阅读(98) 评论(0) 推荐(0)
摘要: appium 通过 uiautomatorviewer.bat 工具来查看控件的属性。该工具位于 Android SDK 的 /tools/bin/ 目录下。 id 定位 通过uiautomatorviewer.bat 工具可以查看对象的id属性。 如果目标设备的API Level低于18则UIAu 阅读全文
posted @ 2017-12-13 11:38 chengguanghua 阅读(746) 评论(0) 推荐(0)
摘要: 一、没有apk,应用已经安装到手机或虚拟机中 1.logcat .清除logcat内容,使用命令adb logcat -c .启动logcat,使用命令adb logcat ActivityManager:I *:s .启动要查看的程序 2 hierarchyviewer.bat packagena 阅读全文
posted @ 2017-12-13 11:33 chengguanghua 阅读(422) 评论(0) 推荐(0)