请教吧友076miui9哪个版本最省电是最省电的吗,有必要升级吗

ROM刷机工具
相关热门ROM
热门关键字
酷派大神F1刷机包由leaders-团队队长消逝的美制作,基于官方最新076内测版,潜心研究MTKTweak V14的优化脚本,查看了多个MTK6592,MTK6589T,MTK6589的内核相关初始参数,最终将每一个参数修改为适合大神F1的值,杜绝跑分变低,系统卡顿,八核变四核等问题。酷派大神F1刷机包特色及功能介绍:1.潜心研究MTKTweak V14的优化脚本,调整每一个参数值使之适合大神F12.关闭了主界面上的瀑布流,再也不用担心流量偷跑3.添加最新MtkTweakV14(性能优化)正式版,MTK最强省电工具(不喜欢可直接卸载)4.设置默认内存模式为2G,性能模式为能耗平衡且各个参数值为官方默认5.集成Boot省电技术6.适度精简系统7.添加内核ROOT权限8.默认开启调试模式9.开启CRT关屏特效10.开启硬件加速11.加入最新hosts文件屏蔽广告12.默认开启Swap加速13.深度优化系统14.提高系统的稳定性和流畅性15.修改桌面默认图标排列顺序16.增强GPS搜星定位17.增强3G信号和WIFI信号18.加入最好听的铃声WhereGo19.加入Oppo Find 5内置自带铃声Jumping Finger20.加入变形金刚里大黄蜂超级出场音乐21.加入很邪恶的铃声,秒起床铃声22.加入三星GalaxyNote口哨短信铃声23.破解系统防止root限制24.提高第三方应用的兼容性25.优化相机功能26.完整添加sony Bravia V3显示引擎27.添加sony Xloud 音量增大音效28.添加最新ViPER4音效29.优化图片显示效果为100%30.提升录像质量31.提升拍照效果32.开启GPU渲染效果33.修改通话音量级数为20级34.开启init.d服务35.集成最新busybox工具升级日志:去掉派粉俱乐部,集成酷友社区修复:日历报错问题修复:相机偶尔出现的卡死报错问题优化:拨号盘Tab键上未读短信和未接来电数字太小优化:相机底部按键有时失效的问题
非凡软件站(霏凡) 版权所有 闽ICP备号
Copyright(C)
CRSKY.com All Rights Reserved您需要通过验证再能继续浏览 3秒后开始验证
丨 粤ICP备号-10 丨 新三板上市公司威锋科技(836555)
增值电信业务经营许可证:
Powered by Discuz!
(C) Joyslink Inc. All rights reserved 保留所有权利iPhone5S升级IOS10初体验 | IOS10升级有哪些变化_什么值得买
“10”分惊喜、流畅度尚可:iPhone5S升级IOS10初体验
升级介绍在前两天看到大妈的IOS 10升级,今天收到苹果的IOS10升级提示,决定升级,在升级前先看看&在新款iPhone的发布的同时,iOS也随之进行了大版本的更新,中国地区将于日收到iOS10的更新推送,预计是北京时间的凌晨一点。本次更新在外观、交互、Siri、iMesseage等方面进行了改变;最低支持更新的手机型号为iPhone5,具体细节和支持更新的设备小编也将在本文中为大 赞133 评论371 收藏90摘录部分如下:主要更新的内容可移除系统应用:除了照片、相机、设置、App Store等必备应用以外,日历、备忘录、iBooks、邮件、备忘录、地图、视频、健康等原生应用都可以按照自己的意愿进行保留或是删除。抬腕唤醒:类似于抬腕亮屏的功能,小编在Beta版本中测试在iPhone6以下的设备没有这个选项开关,只有在iPhone 6s/6s Plus上才有开关。Siri:Siri的API开放给了第三方应用,这意味着可以让Siri利用第三方应用打车。Apple Music:Apple Music终于可以显示歌词咯。iMesseage:在iMesseage中,可以直接发送照片,手绘和Apple Music等信息;还可以自动识别单词以用Emoji代替。锁屏界面:在锁屏界面向右滑动可以看到天气、日程等预览信息、向左滑动则能打开相机;除此之外,在锁屏界面可以利用3D Touch调出快速回复的选项。照片:相册的功能有些类似Google Photos,通过AI识别降照片分类放置,从而推出了“memory”的功能,以供在回看照片之时唤起你的回忆,搜索起来也更方便。地图:地图方面也增加了预测功能,根据之前的数据推测你下一步要到什么地方从而给出一个建议。输入法:原生输入法支持在不切换中英文输入时同时输入两种语言。骚扰电话拦截:可以通过下载第三方来电号码数据库对来电进行识别和标记。看到说系统自带的软件可以移除,对于我这种16G的乞丐版水果来说,诱惑挺大的,于是果断升级之。16G内存是真的不够用&结果然并卵,据说删完会多150M,杯水车薪啊为了担心图片过多篇幅太长,特意将每个有更新的应用单独列为小标题,方便值友直达。▼5S的升级安装包大约1.1G,我的可用空间才467M,删除了QQ、支付宝、微博、滴滴出行、京东后,终于够空间▼升级过程,升级用时大约半小时,视网络下载速度而异▼升级完了后发现可用空间好像更多了?忘记截图删完应用后的空间了(但我删除的4个应用总空间为M可用)、更新完系统运营商也有更新目前已经发现的不同可移除▼可移除的自带APP如下:、日历、指南针、联系人、Facetime、Find My Friends、Home、iBooks、iCloud Drive、iTunes Store、邮件、地图、音乐、新闻、、博客、提醒、股票、提示、视频、语音备忘录、手表、天气,移除后可以在App Store重新安装,而且是秒装锁屏▼首先是锁屏,下图是IOS9、IOS10的锁屏对比,区别还是很明显的:顶部有锁屏状态提示、增加了农历、锁屏相机改为向左轻扫启动、时间显示的字体更粗、时间位置变动(一眼就喜欢上新锁屏);另外此处有个槽点:按HOME键点亮屏幕后,如果手机有挪动(或者调整位置)后解锁指纹时,显示已解锁,但需要再次按下HOME键才能进入主屏(在设置-通用-辅助功能-主屏幕按钮可以调整为不用按下即可使用Touch ID打开手机)(额。。。我儿子的照片就不码了吧)▼锁屏向右轻扫进入搜索控制台▼控制台:将音乐播放独立成了一个卡片,个人感觉不如以前整合在一起方便(可能是为了方便Plus的单手操作)、突出了IOS 9新增的Night Shift功能搜索▼在主页面向右滑动启动搜索,搜索显示的内容更丰富了,一屏还显示不完通知▼锁屏通知,但是同一个APP的通知如果可以整合到一起就更好了▼顶部通知▼下拉通知栏通讯录▼通讯录界面好像也有新变化(但我没注意是不是从IOS9就更改了)照片▼照片功能更新比较多▼分类更丰富:▼新增的回忆标签▼人物专辑:会扫描人脸并识别,将同一个人的照片放在一起(但合照十几人只误别出2个人是什么意思)▼地点专辑:可以放大地图,直到每一条大街小巷(比如可以看到你在哪家餐馆拍了食物)▼照片相关:查看照片时向上轻扫,可以查看照片相关,如附近的照片、相关的地点、相关人物的照片、关联人物的照片专辑(如我儿子和太太的合照轻扫会出现他们的人物专辑)时钟▼新增的就寝功能▼改成了黑底(以前是底色是白色)日历▼日历新功能:没有体验到新功能备忘录▼备忘录最大的新功能是可以邀请成员参与查看或编辑备忘录(暂未体验)音乐▼看介绍说音乐可以显示歌词了,我的歌词在哪里?难道是因为我的屏小显示不了么&(还望有知道的值友解答)健康▼▼新增正念训练▼健康App里的小视频,不明觉厉家庭▼然而我没有,果断删之SIRISiri:Siri的API开放给了第三方应用,这意味着可以让Siri利用第三方应用打车。▼SIRI更加智能了地图▼除了界面稍有调整,好像地图功能没有大的变化(预测功能目前是没有出门,无法体验到的)结束后台应用▼双击HOME键结束后台应用不知道什么时候起有提示微信正在使用我的当前位置?不明觉厉返回应用▼此次更新之后,返回应用不会再挡住当前的网络标识信息(iMesseage)此次更新,信息(iMesseage)更好玩了,可以直接发送照片,手绘和Apple Music等信息,而且还可以录制小视频发送,在录制的同时也可以手绘,还可以在刚才发送的手绘处添加不同的小挂件,可玩性非常高,照片没有办法展示详尽,更多的还是建议大家自己体验吧。▼首先在信息发送界面底部就有很明显的变化(请大家忽视我欠费)▼手绘发送界面(怎么看都是要大屏才好玩啊)&▼聊天窗口可以添加小挂件▼手绘▼录制小视频的同时还可以添加手绘▼其实我很好奇在上收到手绘是什么样子:就是一封彩信,还不能播放,成了图片&App Store IOS 10专区▼值此IOS 10发布的大日子,App Store当然会有10应用专区啦总结因为只是简单体验便开始写这篇文字,到此差不多就结束了。个人觉得IOS 10确实可以称得上重大更新了吧,虽然没有IOS 6到7的改头换面,但是还是给了我不少的惊喜:可玩性更高的信息、更聪明的SIRI、可移除的原生应用、细节的一些美化、时钟新增的就寝功能等等。由于我使用的还是5S,无法体验3D Touch的一些变化,不过呢我觉得6S的3D Touch带来的体验是比较让人失望的,并没有5S的指纹那样引起革命性的变化。虽然5S已经好老了,但是升到10也没有感觉非常卡顿,不卡是不可能的,感觉和9一样都有点卡,反正也还能接受,我认为基本和9差不多的没有区别。最后,建议大家都升级,如果您手上的5已经升到了IOS9,我觉得升到10也不会再卡到哪里去吧&最后,祝值友们中秋快乐!(希望发稿时不是18号&)再会!&
推荐关注:
鼠标移到标签上方,
尝试关注标签~
相关热门原创
作者其他原创(35)
Apple iPad 2018年新款9.7英寸+Apple Pencil套装
【轻众测】须眉 SH-A161 电吹风
铜师傅安格尔 黑胡桃原木 1.4米餐桌椅套装
斐讯 家庭NAS 天天链N1
巴比丽丝 BABYLISS 恒温护发吹风机
【运动季】FlipBelt飞比特多功能运动紧身裤
莱克魔洁 MJ18 立式多功能大吸力无线宠物吸尘器
【运动季】FlipBelt飞比特运动腰包+水壶套装
AJAZZ 黑爵 Zn 锌蓝牙双模机械键盘
任天堂 Nintendo Labo
赞342评论249
赞66评论63
赞96评论19
赞1604评论1169
赞582评论342
赞568评论297
赞391评论168
赞604评论237
扫一下,分享更方便,购买更轻松
用户名/邮箱
两周内免登录本帖已被设为精华帖!
大家请使用 appium-desktop
以下内容陈旧,不建议看了。
使用 gui 启动的 appium 1.2.2 也会有这个问题,所以你要把 deviceconsole 复制到 /Applications/Appium.app/Contents/Resources/node_modules/appium/build/deviceconsole 下面。你自己的路径可能和我不一样,切记。
同意如果这个问题不解决, iOS 上的 真机 inspector 也打不开。
英文好的同学请移步官方文档 ,
推荐自己边看边试验。
首先 Appium 支持 iOS 真机以下条件必须满足:
苹果开发者账号和开发者证书
苹果设备,确保这个设备已经被配置为开发机器。
签名过的 .ipa 文件或者源代码
A Mac with Xcode and the Xcode Command Line Developer Tools,有 xcode和xcode command line 的
苹果系统。别来问我,windows 怎么测试 iOS 应用。
Provisioning Profile
再次强调真机需要有效的开发分发证书和开发的 Provisioning Profile。
你的应用需要签名。Appium 会参试使用 Fruitstrap 安装应用。
但是使用 xcode 安装到真机会方便很多。
要指定真机运行有两种方式:
appium 启动的时候,指定 udid 和 app bundle appium -U &udid& --app &path or bundle&
或者在脚本里指定两个 desired capability
desired_capabilities={
'app':'com.xxx.iphone',
'udid':'b0f3ce433a48b5531ee6',
'platformName': 'iOS',
'deviceName': 'iPhone'
注意: 如果设备中未安装 app 可以指定 ipa 地址,如果安装了,
则指定 bundle ID。
所以对于第一种情况,代码可以这样写:
self.driver = webdriver.Remote(
command_executor='http://127.0.0.1:4723/wd/hub',
desired_capabilities={
'deviceName':'',
'platformName': 'iOS',
对于第二种情况,代码可以这样写:
app = "io.appium.TestApp"
self.driver = webdriver.Remote(
command_executor='http://127.0.0.1:4723/wd/hub',
desired_capabilities={
'deviceName':'',
'platformName': 'iOS',
'app': app,
'udid': 'cc6bcd6a94aebc5b318bfbfafb3bb'
调试的思路
确保 UDID 的正确,是真机的 UDID。(20+ 字符串)
确保在模拟器上已经能运行无误了。
直接使用 Instruments 看看是否能在真机上运行。有些情况连 xcode 的 instruments 都不能在真机上调试,那更别谈 appium 了
确保运行 appium 用例前, instruments 没有启动过。看看有没有 instruments 的进程。
目前 1.2.2 的坑
目前 appium 1.2.2 上运行 iOS 真机测试的话,可能会遇到如下的错误:
info: [debug] Starting iOS device log capture via deviceconsole
error: iOS log capture failed: spawn ENOENT
info: [debug] Cleaning up appium session
error: Failed to start an Appium session, err was: Error: spawn ENOENT
info: [debug] Error: spawn ENOENT
at errnoException (child_process.js:1000:11)
at Process.ChildProcess._handle.onexit (child_process.js:791:34)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original
error: spawn ENOENT)","code":"ENOENT","errno":"ENOENT","syscall":"spawn","origValue":"spawn ENOENT"},"sessionId":null}
info: &-- POST /wd/hub/session 500
这是因为在 /usr/local/lib/node_modules/appium/build/deviceconsole/ 下面缺失了 deviceconsole。已经有
解决方法如下:
到该目录底下 cd /usr/local/lib/node_modules/appium/build/deviceconsole/
打开这个deviceconsole project。 open deviceconsole.xcodeproj
重新 build 一把。把 build 出来的 deviceconsole,复制到 /usr/local/lib/node_modules/appium/build/deviceconsole/去。
然后重新运行 Appium
注意: deviceName 就算为空也一定要,代码写死的。。。
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
很赞,这个问题困扰了我很多天,终于解决了。
另外,我想请教一下,appium 中用java语言,下拉刷新视图以及多手势的问题,你也发一个帖子吧。我弄了好多天都没得出结果。有什么办法没有?估计很多人都有这样的疑问。
太棒了,这个问题搞了一天没搞出来 ,楼主是大神,崇拜你~~~么么哒~~~~~
启动inspector
的时候 一定要设备那个ForceDevice ,否则 会弹 出个报错信息
这个名字可以随便选 ,我用ipod ,选 Iphone也是没有问题的。
感谢楼主。
IOS上运行robotframework+appium自动化测试,在RIDE上的参数配置Open App ,需要那几个必填的参数设置,比如${APP},${BUNDLEID},${UDID},等等,谢谢
我按照这个思路改了,还是报
在我本机下找不到cd /usr/local/lib/node_modules/appium/build/deviceconsole/这个文件
我用的是MAC系统
求楼主解答
请把问题描述清楚
error: iOS log capture failed: spawn ENOENT
info: &-- POST /wd/hub/session 500
info: [debug] Not setting device type since we're connected to a device
info: [debug] Creating iDevice object with udid ede8ea883c49ad1d71297
info: [debug] Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id ede8ea883c49ad1d71297 --bundle com.hipalsports.hipal
error: Failed to start an Appium session, err was: Error: spawn ENOENT
提示我这个错误!
我的设置是这个
error: iOS log capture failed: spawn ENOENT
info: [debug] Dynamic bootstrap code:
info: [debug] Dynamic bootstrap path:
info: [debug] Reusing dynamic bootstrap:
info: [debug] Not setting iOS and app preferences since we're on a real device
info: [debug] Starting iOS device log capture via deviceconsole
info: [debug] Cleaning up appium session
info: [debug] Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: spawn ENOENT)","code":"ENOENT","errno":"ENOENT","syscall":"spawn","origValue":"spawn ENOENT"},"sessionId":null}
info: &-- POST /wd/hub/session 500 145.563 ms - 197
info: [debug] Not setting device type since we're connected to a device
info: [debug] Creating iDevice object with udid 962f806a222b297fa4daf
info: [debug] Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 962f806a222b297fa4daf --bundle com.hipalsports.hipal
error: Failed to start an Appium session, err was: Error: spawn ENOENT
以上错误是我连iphone时的报错!
提示的已经非常清楚了:
Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
这个要怎么built呀?我查了这个路径是有这个文件 的呀
楼主这个和你上面描述的是一个问题吗?求解呀,我用的是MAC,想用录制的方式录IOS!谢谢了!
那你用 /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id ede8ea883c49ad1d71297 --bundle com.hipalsports.hipal
在命令行运行看看。 你想用录制的方式录制 iOS, 那就录制啊。
info: --& POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"7.1","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone Retina (4-inch 64-bit)"}}
info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session ef17f59f-ece8-46f4-ad67-8ccdc89b514b
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] iOS SDK Version set to 7.1
info: [debug] Detecting automation tracetemplate
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Localizable.strings is not currently supported when using real devices.
info: [debug] Not setting locale because we're using a real device
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir:
info: [debug] Dynamic env:
error: iOS log capture failed: spawn ENOENT
info: [debug] Dynamic bootstrap code:
info: [debug] Dynamic bootstrap path:
info: [debug] Reusing dynamic bootstrap:
info: [debug] Not setting iOS and app preferences since we're on a real device
info: [debug] Starting iOS device log capture via deviceconsole
info: [debug] Cleaning up appium session
info: [debug] Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: spawn ENOENT)","code":"ENOENT","errno":"ENOENT","syscall":"spawn","origValue":"spawn ENOENT"},"sessionId":null}
info: &-- POST /wd/hub/session 500 147.450 ms - 197
info: [debug] Not setting device type since we're connected to a device
error: Failed to start an Appium session, err was: Error: spawn ENOENT
info: [debug] Creating iDevice object with udid ede8ea883c49ad1d71297
info: [debug] Couldn't find ideviceinstaller, trying built-in at /Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: [debug] Checking app install status using: /Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id ede8ea883c49ad1d71297 --bundle com.hipalsports.hipal
info: [debug] App is installed.
info: [debug] fullReset not requested. No need to install.
info: [debug] Starting command proxy.
info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments
info: [debug] Instruments is at: /Applications/Xcode 5.1.app/Contents/Developer/usr/bin/instruments
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID ede8ea883c49ad1d71297
info: [debug] Spawning instruments with command: /Applications/Xcode 5.1.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode 5.1.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w ede8ea883c49ad1d71297 com.hipalsports.hipal -e UIASCRIPT /Users/hipal/Library/Application Support/appium/bootstrap/bootstrap-286b5fee.js -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: --& GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.2.2","revision":"cf6ff5939ddc6b4d45fcbabfbfe13c950e0058c4"}}}
运行时提示了我以上错误,按照你的方法直接在命令行中运行
JackdeMac-mini:~ hipal$ /Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id ede8ea883c49ad1d71297 --bundle com.hipalsports.hipal
[....] Waiting for iOS device to be connected
found device id
0%] Found device (ede8ea883c49ad1d71297), beginning check
App is installed!
[100%] Check completed com.hipalsports.hipal
JackdeMac-mini:~ hipal$
安装应该是成功的了!但是还是报错
Could not start a new session
Be sure the Appium server is running with an application opened by using the "App Path" parameter in Appium.app (along with package and activity for Android) or by connecting with selenium client and supplying this in the desired capabilities object.
弄了几天了这个问题!依然找不到出路!
楼主这个问题你有遇到过吗?
这里的server address需要设置吗?
好文,解决了我的困扰,谢谢。
感谢楼主,问题弄了好多天终于解决了这个报错的问题,但是又有一个新问题,运行点inspector 后appium就自动退出去了!手机可以正常启动了,这个又是什么问题引起的
啥问题都不描述,我怎么知道。。。 别让我猜。
appium 1.2.2 运行正常没有报错,点inspector 后record 的 界面出现了一下然后appium就异常关闭!
Appium可以控制iOS内置的app么或其他从AppStore中下载的app?如果可以,是不是随便一个开发账号和证书就可以了?
当然不可以。 只有自己使用开发证书分发的才能。
没有日志我帮不了你。
连接真机测试时提示这个
[IOS_SYSLOG_ROW ] Oct 13 20:05:19 jing lockdownd[52] :
spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Oct 13 20:05:19 jing lockdownd[52] :
spawn_and_handle_checkin: Could not spawn the com.apple.instruments.remoteserver service agent:InvalidService
info: [debug] [INST STDERR]
20:05:18.903 instruments[] Failed to start Instruments daemon for 'iOS' on 'jing (v7.1.2)' (The service is invalid.)
info: [IOS_SYSLOG_ROW ] Oct 13 20:05:19 jing lockdownd[52] :
spawn_service_agent: Could not look up service in the map
info: [debug] [INST STDERR]
20:05:18.907 instruments[] Device 'Build Version 11D257, iPhone ID 2ad744c4d85acfe21415edcad3fd78a' is not setup as a development device.
Use Xcode to setup.
info: [IOS_SYSLOG_ROW ] Oct 13 20:05:19 jing lockdownd[52] :
spawn_and_handle_checkin: Could not spawn the com.apple.instruments.server service agent:InvalidService
info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] We exceeded the number of retries allowed for instruments t failing launch
info: [debug] Stopping iOS log capture
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] Cleaning app state.
info: [debug] No folders found to remove
error: Failed to start an Appium session, err was: Error: Instruments crashed on startup
info: [debug] Cleaning up appium session
info: [debug] Error: Instruments crashed on startup
at Instruments.onInstrumentsExit (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:344:31)
at null. (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:281:12)
at ChildProcess.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Instruments crashed on startup)","origValue":"Instruments crashed on startup"},"sessionId":null}
info: &-- POST /wd/hub/session 500
楼主,我的问题是当我点inspector会弹出那个报错框,但是真机会启动程序,就是那个 录制界面不出来
ios真机运行点inspector会报
错误,但是手机上的程序启动了,也不会出
请问一下你点inspector无法启动的那个第一个问题是怎么解决的啊?是通过那个命令行吗?
我也遇到同样问题,inspector无法启动。你解决了吗?怎么解决的?
我是直接跳回了1.2.0的版本就可以了,用1.2.3的版本老是连不上,解决的方法是因为之前放的是测试包,但是bundleID却是正式环境下的,所以匹配不上就报错了,后来找到原因了替换一下就可以了!
按guide提示运行成功,想知道测试用例怎么运行啊
楼主,我的是在模拟器上build的,也有这个问题,怎么解决。能加您qq么
info: [debug] Not pre-launching simulator
info: [debug] Creating iDevice object with udid 2ED6A33C-39B6-47B2-B27E-9ACE
info: [debug] Couldn't find ideviceinstaller, trying built-in at /usr/local/lib/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
error: Could not initial make sure it is installed and works on your system
我的帖子里没说清楚么?ideviceinstaller 这个没找到,就编译一个啊。
我碰到同样的 inspector 无法启动的问题,
nancymac:fruitstrap lixia$ pwd
/Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap
nancymac:fruitstrap lixia$ ls -l
-rwxr-xr-x@ 1 lixia
37476 Mar 26 04:09 fruitstrap
我这下面没有 fruitstrap 文件夹,不知道是安装哪里出错了么?还有我的 deviceconsole 路径下面是这样的:
nancymac:deviceconsole lixia$ pwd
/Applications/Appium.app/Contents/Resources/node_modules/appium/build/deviceconsole
nancymac:deviceconsole lixia$ ls -la
drwxr-xr-x@
102 Mar 26 04:09 .
drwxr-xr-x@ 13 lixia
442 Mar 26 18:03 ..
-rwxr-xr-x@
16332 Mar 26 04:09 deviceconsole
两位前辈可以帮忙看下问题出在哪了么? 我的 appium 是1.4.0的版本。。。
xcode版本:6.3
appium版本:1.3.7
ipod版本:8.3
请问:我按照上述的操作仍然存在报错信息
请问要如何解决?
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --address "127.0.0.1" --command-timeout "7200" --platform-version "8.3" --platform-name "iOS" --app "com.ruijie.whistle.activity" --udid "95C36DA6F8907AECD" --device-name "iPhone 6"
info: Welcome to Appium v1.3.7 (REV 72fbfaa116d3d9f6acf02f6d0e2182)
info: Appium REST http interface listener started on 127.0.0.1:4723
info: [debug] Non-default server args: {"app":"com.ruijie.whistle.activity","udid":"95C36DA6F8907AECD","address":"127.0.0.1","deviceName":"iPhone 6","platformName":"iOS","platformVersion":"8.3","defaultCommandTimeout":7200}
info: Console LogLevel: debug
info: --& GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6acf02f6d0e2182"}}}
info: &-- GET /wd/hub/status 200 7.044 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6acf02f6d0e2182"}}}
info: --& GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6acf02f6d0e2182"}}}
info: &-- GET /wd/hub/status 200 3.161 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6acf02f6d0e2182"}}}
info: --& GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {"status":0,"value":[]}
info: &-- GET /wd/hub/sessions 200 0.949 ms - 23 {"status":0,"value":[]}
info: --& POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.3","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 6"}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/720.3.13 Darwin/14.3.0 (x86_64)
info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session 1a4ac54c-a53e-4d5d-9c65-f6095efaa2e1
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.3
info: [debug] Not checking whether simulator is available since we're on a real device
info: [debug] Detecting automation tracetemplate
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.ruijie.whistle.activity/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.ruijie.whistle.activity/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/limei/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
info: [debug] Dynamic bootstrap path: /Users/limei/Library/Application Support/appium/bootstrap/bootstrap-d5a0fbd3.js
info: [debug] Reusing dynamic bootstrap: /Users/limei/Library/Application Support/appium/bootstrap/bootstrap-d5a0fbd3.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.3","iOSSDKVersion":"8.3","deviceName":"iPhone 6","platformVersion":"8.3"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (8.3 Simulator)'
info: [debug] Not setting device type since we're on a real device
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we're on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons
info: [debug] O cannot clean device state
info: [debug] Not setting locale because we're using a real device
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS device log capture via deviceconsole
info: --& GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6acf02f6d0e2182"},"isShuttingDown":false},"sessionId":"1a4ac54c-a53e-4d5d-9c65-f6095efaa2e1"}
info: &-- GET /wd/hub/status 200 1.101 ms - 178 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6acf02f6d0e2182"},"isShuttingDown":false},"sessionId":"1a4ac54c-a53e-4d5d-9c65-f6095efaa2e1"}
info: [debug] Cleaning up appium session
info: [debug] Error: Log capture did not start in a reasonable amount of time
at null._onTimeout (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-log.js:137:10)
at Timer.listOnTimeout (timers.js:110:15)
error: Log capture did not start in a reasonable amount of time
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Log capture did not start in a reasonable amount of time)","origValue":"Log capture did not start in a reasonable amount of time"},"sessionId":null}
info: &-- POST /wd/hub/session 500
error: Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time
info: [debug] Not pre-launching simulator
info: [debug] Creating iDevice object with udid 95C36DA6F8907AECD
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 95C36DA6F8907AECD --bundle com.ruijie.whistle.activity
问题已解决,udid一定要小写
尝试了很久,必须前来求指导了。
appium:1.4.1
Xcode:6.3.2
连接真机打开inspector报错
error: Could not initial make sure it is installed and works on your system
info: [debug] Error: Could not initial make sure it is installed and works on your system
at [object Object].IOS.getIDeviceObj (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:909:13)
at [object Object].IOS.installToRealDevice (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:856:32)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:607:21
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:246:17
at iterate (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:146:13)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:157:25
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:248:21
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:612:34
at [object Object].&anonymous& (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-crash-log.js:52:5)
at [object Object].&anonymous& (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-crash-log.js:27:5)
at f (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/node_modules/once/once.js:17:25)
at Glob.&anonymous& (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:131:7)
at Glob.emit (events.js:107:17)
at Glob._finish (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:168:8)
at done (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:157:12)
at Glob._processReaddir2 (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:351:12)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:288:17
at RES (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/node_modules/inflight/inflight.js:23:14)
at f (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/node_modules/once/once.js:17:25)
at Glob._readdirEntries (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:480:10)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:457:12
at FSReqWrap.oncomplete (fs.js:95:15)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Could not initial make sure it is installed and works on your system)","origValue":"Could not initial make sure it is installed and works on your system"},"sessionId":null}
info: &-- POST /wd/hub/session 500 1468.450 ms - 300
error: Failed to start an Appium session, err was: Error: Could not initialize ideviceinstaller; make sure it is installed and works on your system
我得设置:
deviceconsole:
在Xcode里面Product-&profile,手机上能正常运行成功。
我得配置在IOS模拟器也能正常运行。真机就报错。
忘了附上 ideviceinstaller的图。系统是有的。
/Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id ede8ea883c49ad1d71297 --bundle com.hipalsports.hipal
-bash: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap: No such file or directory
wo用1.4.1的appium 启动真机
和你是一样的情况,请问你的问题解决了吗
楼上的问题解决了么,我的也是这样的问题~跪求楼主现身
在这里跪求有什么用?你贴出你的问题来啊
这是真机的 inspector
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Auto-detecting iOS udid...
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.ttyongche.ttyc/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.ttyongche.ttyc/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/wangyao/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
info: [debug] Dynamic bootstrap path: /Users/wangyao/Library/Application Support/appium/bootstrap/bootstrap-bb0c0.js
info: [debug] Reusing dynamic bootstrap: /Users/wangyao/Library/Application Support/appium/bootstrap/bootstrap-bb0c0.js
info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
warn: Could not capture device log using libimobiledevice idevicesyslog. Libimobiledevice probably isn't installed
info: [debug] Attempting iOS device log capture via deviceconsole
warn: Could not capture logs from device. Continuing without capturing logs.
info: [debug] Creating iDevice object with udid F0188AAE55CA344A2FFDE339AE4DCCD5EFCA9CFC
info: [debug] Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
error: Log capture did not start in a reasonable amount of time
我的问题如上,帮忙看看怎么解决~
Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
日志里不是写了吗? 找不到 ideviceinstaller, 安装 ideviceinstaller 这个啊。
新手还不太会看log,只看了error和warn。找到路径下的ideviceinstaller,安装还是有问题。Last login: Thu Nov 12 11:08:27 on ttys002
172-15-70-48:~ wangyao$ /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/
dyld: Library not loaded: /../lib/libimobiledevice.3.dylib
Referenced from: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
Reason: image not found
Trace/BPT trap: 5
[进程已完成]
再帮忙看看~多谢
问题已解决~多谢多谢。
按着错误 谷歌下 很快就解决了。
54楼 已删除
55楼 已删除
楼主,iOS真机启动Inspector时,报错如下,麻烦帮忙看一下,谢谢!
info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session 2cf-47c4-7a772d
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Auto-detecting iOS udid...
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.boohee.food/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.boohee.food/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/zhuquan/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
info: [debug] Dynamic bootstrap path: /Users/zhuquan/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js
info: [debug] Reusing dynamic bootstrap: /Users/zhuquan/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js
info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
info: [debug] Creating iDevice object with udid 7f5d1c1cb5e7eac52d371e24fa0a8c3
在这就报错了
不是每次报错,弹框都是提示这个吗,解决ideviceinstaller问题前也是提示这个啊
英文不是说 App Path 参数没有提供吗?
我用的这个设置,真机build了测试App的,填了bundleid
你真机的app已经装好了吧?
真机上已经build了com.boohee.food这个App了
63楼 已删除
在这个帖子问问题的同学,请自己看帖子,我帖子里明确说明你是可以进行真机调试的。
65楼 已删除
这个问题解决了吗?运行时也报
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Instruments crashed on startup) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 44.86 seconds
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40'
System info: host: 'zhangdeiMac.local', ip: '10.xxx.3.236', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.3', java.version: '1.8.0_40'
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
mac连真机,报这个错,用dmg装的appium1.4.13版本,下载了ideviceinstaller,运行了steps但是还是提示这个错误。
你的问题解决了么 我也是一样的情况
请问一直卡在这个界面,大致是什么原因引起的啊? 刚在Mac上装了appium环境,真机调试出现这个问题
你解决了么?我也是这样 一直卡在这个界面,弹框这样子的。
楼主简直是天使~完美的解决了我的问题,谢谢哒
你问题解决了吗? 我也遇到一样的问题。
问题解决了,将服务器IP地址修改成127.0.0.1就解决了。 之前我的IP地址是设置成内网的一个IP。你可以试一下看是不是这个问题导致的
问题解决了,将服务器IP地址修改成127.0.0.1就解决了。 之前我的IP地址是设置成内网的一个IP。你可以试一下看是不是这个问题导致的
[MJSONWP] Encountered internal error running command: Error: Command failed: ideviceinstaller -u 39d4cc7a73d63d4b2c -u App
at ChildProcess.exithandler (child_process.js:202:12)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.&anonymous& (internal/child_process.js:323:11)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at Pipe._onclose (net.js:475:12)
已经发现是ideviceinstaller -u 39d4cc7a73d63d4b2c -u App命令有问题(后面的-u需要大写),但是去哪个文件里面改?还是说需要用源码改?
什么版本的啊?
1.4.16和1.5.2都有这个问题
依赖包有的问题, node-idevice
?谢谢楼主```应该是换一下node-idevice的版本,我试试去``
问题解决了
修改node-idevice的main.js的exec(this._build_cmd(['-u', app]), function (err, stdout, stderr),中的-u为大写即可
Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":null}}
[HTTP] &-- GET /wd/hub/status 200 10 ms - 83
[HTTP] --& GET /wd/hub/sessions {}
[MJSONWP] Calling AppiumDriver.getSessions() with args: []
[MJSONWP] Responding to client with driver.getSessions() result: []
[HTTP] &-- GET /wd/hub/sessions 200 3 ms - 40
[HTTP] --& POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"9.3.1","udid":"D8A98E35-BD85-5A5C-9C51-CFAA","automationName":"Appium","bundleId":"com.weizuche076.WeRentCar","deviceName":"iPhone 6"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"9.3.1","udid":"D8A98E35-BD85-5A5C-9C51-CFAA","automationName":"Appium","bundleId":"com.weizuche07...
[Appium] Creating new IosDriver session
[Appium] Capabilities:
platformName: 'iOS'
platformVersion: '9.3.1'
udid: 'D8A98E35-BD85-5A5C-9C51-CFAA'
automationName: 'Appium'
bundleId: 'com.weizuche076.WeRentCar'
deviceName: 'iPhone 6'
app: 'com.weizuche076.WeRentCar'
noReset: true
showIOSLog: true
[BaseDriver] Session created with session id: 24d224e8-42c4-4525-b2cd-f5485cbbe15b
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] App is an iOS bundle, will attempt to run as pre-existing
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /var/folders/yw/s47v0nk54yzg04p2ls7m3m0r0000gn/T/instruments_sock
[debug] [iOS] No language specified. Using default strings
[debug] [iOS] Strings file not found. Looking in 'en.lproj' directory
[iOS] Could not file localizable strings file 'Localizable.strings'!
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/pengbingxiang/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/yw/s47v0nk54yzg04p2ls7m3m0r0000gn/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
[debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
[debug] [UIAuto] Dynamic bootstrap path: /Users/pengbingxiang/Library/Application Support/appium/bootstrap/bootstrap-7a90aecc8b979ac8.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/pengbingxiang/Library/Application Support/appium/bootstrap/bootstrap-7a90aecc8b979ac8.js
[debug] [iOS] Reset not set, not ending real device
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[MJSONWP] Encountered internal error running command: Error: Command failed: ideviceinstaller -U D8A98E35-BD85-5A5C-9C51-CFAA -l
at ChildProcess.exithandler (child_process.js:202:12)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
[debug] [iOS] Creating iDevice object with udid D8A98E35-BD85-5A5C-9C51-CFAA
[HTTP] &-- POST /wd/hub/session 500 124 ms - 215
[HTTP] --& GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":null}}
[HTTP] &-- GET /wd/hub/status 200 16 ms - 83
楼主帮忙看看是怎么回事?
也是依赖包 node-idevice的原因吗
你的问题后来这么解决的
我和你一样的问题
我把这条命令拿出来直接执行,报的错误信息是 Invalid UDID specified
但是我的udid应该是没有问题的。你这个问题解决了吗
你用模拟器,捣乱啥啊。。。
idevice_id是不是不支持ios9.3?
appium 定位ios的元素太慢了,有什么快点的定位方法吗?driver.executeScript这个方法倒是快,但是跟XPATH一样依赖于全路径
我遇到了相同的问题,不知道怎么解答,之前是可以的,升级了xcode后,就出现了这个问题。
Appium 1.4.13
请问楼主,我appium连接模拟器,起不来是什么原因哦,用Instruments可以录制,但是用appium就是连不上
iOS上有的App会弹出提示框,会造成自动化测试中断,这种问题一般是怎么解决的呢?
Traceback (most recent call last):
File "helloWorld.py", line 107, in
File "helloWorld.py", line 97, in main
testcase = TestCase(desired_caps)
File "helloWorld.py", line 24, in init
self.driver = webdriver.Remote('', desired_caps)
File "build/bdist.macosx-10.11-intel/egg/appium/webdriver/webdriver.py", line 36, in init
File "/Library/Python/2.7/site-packages/selenium-2.53.5-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 90, in init
self.start_session(desired_capabilities, browser_profile)
File "/Library/Python/2.7/site-packages/selenium-2.53.5-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 177, in start_session
response = self.execute(Command.NEW_SESSION, capabilities)
File "/Library/Python/2.7/site-packages/selenium-2.53.5-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 236, in execute
self.error_handler.check_response(response)
File "/Library/Python/2.7/site-packages/selenium-2.53.5-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 194, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Command failed: /bin/sh -c ideviceinstaller -u ba7f3db55fba5f -l
一直报这个错,帮忙看下吧,谢谢!
模拟器可以起来。
依赖包怎么改?
deviceconsole在哪里啊,我的imac上没有
1.5.2/node_modules/appium/node_modules/appium-ios-driver/node_modules/node-idevice这个目录下的main.js文件的138行exec(this._build_cmd(['-U', app]), function (err, stdout, stderr) {
1.5.2/node_modules/appium/node_modules/appium-ios-driver/node_modules/node-idevice这个目录找不到啊。
/Applications/Appium.app/Contents/Resources/node_modules/appium/build/deviceconsole这个目录也没有。
试试这个目录/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/node-idevice
目录是找到了,把U-&u,问题还在。
是小写改成大写,问题还在的话,你和我碰到的就不是一个问题。
61行有个小写,138是大写,本来就是这么写的。很奇怪的是:Command failed: /bin/sh -c ideviceinstaller -u ba7f3db55fba5f -l ,-l后面就这样断了?
我建议你单独开一个帖子,把所有信息描述的清楚一些,可能会找到问题。
你好,我现在有个页面,开发在外面套了层东西,导致appium inspect 点不到里面的元素,怎么解决?
你都知道原因了。。。那我有啥办法。。
请教下,appium inspect能点到元素的前提是什么?
元素是可见的,或者你可以理解为该元素有 accessible 的属性。
请教一下哈~
ios 真机测试 切换webwiew 后找不到控件了
Set&String& contextNames = driver.getContextHandles();
for (String contextName : contextNames) {
System.out.println(contextName);
if(contextName.contains("WEB")){
driver.context(contextName).switchTo();
System.out.println(driver.findElement(By.name("预约服务人员了解产品")).isDisplayed());
driver.findElement(By.name("预约服务人员了解产品")).click();
System.out.println 输出信息和idea 报错信息:
NATIVE_APP
WEBVIEW_131
org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Launching Appium server with command: D:\Program Files (x86)\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --app D:\androidworkspace\appium_demo\apps\ContactManager.apk --platform-name Android --platform-version 21 --automation-name Appium --device-name "mx5" --log-no-color
info: Welcome to Appium v1.4.16 (REV ae6877eff28d457bd285c0cc62430d)
info: Appium REST http interface listener started on 127.0.0.1:4723
info: [debug] Non-default server args: {"app":"D:\androidworkspace\appium_demo\apps\ContactManager.apk","address":"127.0.0.1","logNoColors":true,"deviceName":"mx5","platformName":"Android","platformVersion":"21","automationName":"Appium"}
info: Console LogLevel: debug
info: --& POST /wd/hub/session {"desiredCapabilities":{"platformVersion":"5.0.1","app":"D:\androidworkspace\appium_demo\apps\ContactManager.apk","platformName":"Android","deviceName":"mx5","browserName":"","appActivity":".ContactManager","appPackage":"com.example.android.contactmanager"}}
info: Client User-Agent string: Apache-HttpClient/4.3.4 (java 1.5)
info: [debug] Using local app from desired caps: D:\androidworkspace\appium_demo\apps\ContactManager.apk
info: [debug] Creating new appium session cb849dfa-ca5e-4f85-b5cf-b4ea53cb5551
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.7.0_67
info: [debug] Checking whether adb is present
info: [debug] Using adb from D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" devices
info: [debug] 1 device(s) connected
info: Found device 85GBBM922JJY
info: [debug] Setting device id to 85GBBM922JJY
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY wait-for-device
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 21
info: Device API level is: 21
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "getprop persist.sys.language"
info: [debug] Current device persist.sys.language:
info: [debug] java -jar "D:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\androidworkspace\appium_demo\apps\ContactManager.apk" "C:\Users\寰愭稕娑沑AppData\Local\Temp\com.example.android.contactmanager"
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY push "C:\Users\寰愭稕娑沑\AppData\Local\Temp\com.example.android.contactmanager\strings.json" /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\aapt.exe
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\aapt.exe" dump xmltree D:\androidworkspace\appium_demo\apps\ContactManager.apk AndroidManifest.xml
info: [debug] Set app process to: com.example.android.contactmanager
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for D:\androidworkspace\appium_demo\apps\ContactManager.apk.
info: [debug] executing cmd: java -jar "D:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar" D:\androidworkspace\appium_demo\apps\ContactManager.apk
info: [debug] App already signed.
info: [debug] Zip-aligning D:\androidworkspace\appium_demo\apps\ContactManager.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\zipalign.exe
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\zipalign.exe" -f 4 D:\androidworkspace\appium_demo\apps\ContactManager.apk C:\Users\寰愭稕娑沑AppData\Local\Temp\-11xuowd\appium.tmp
info: [debug] MD5 for app is b2de1dc281ec3e71ef1234
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "ls /data/local/tmp/b2de1dc281ec3e71ef1234.apk"
info: [debug] Getting install status for com.example.android.contactmanager
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 21
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "pm list packages -3 com.example.android.contactmanager"
info: [debug] App is installed
info: App is already installed, resetting app
info: [debug] Running fast reset (stop and clear)
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "am force-stop com.example.android.contactmanager"
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "pm clear com.example.android.contactmanager"
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY push "D:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar" /data/local/tmp/
info: [debug] Pushing settings apk to device...
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY install "D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
info: [debug] Pushing unlock helper app to device...
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY install "D:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "ps 'uiautomator'"
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 85GBBM922JJY shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.example.android.contactmanager -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] [BOOTSTRAP] [debug] json loading complete.
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "dumpsys window"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] [UIAUTOMATOR STDOUT] [CDS]close[4724]
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 1.027
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
error: Failed to start an Appium session, err was: Error: stdout maxBuffer exceeded.
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] Error: stdout maxBuffer exceeded.
at Socket. (child_process.js:792:12)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at Pipe.onread (net.js:540:20)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: stdout maxBuffer exceeded.)","cmd":"C:\Windows\system32\cmd.exe /s /c \"\"D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe\" -s 85GBBM922JJY shell \"dumpsys window\"\"","origValue":"stdout maxBuffer exceeded."},"sessionId":null}
info: &-- POST /wd/hub/session 500
info: --& POST /wd/hub/session {"desiredCapabilities":{"platformVersion":"5.0.1","app":"D:\androidworkspace\appium_demo\apps\ContactManager.apk","platformName":"Android","deviceName":"mx5","browserName":""}}
info: Client User-Agent string: Apache-HttpClient/4.3.4 (java 1.5)
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] No appPackage desired capability or server param. Parsing from apk.
info: [debug] Using local app from desired caps: D:\androidworkspace\appium_demo\apps\ContactManager.apk
info: [debug] Creating new appium session 6d0e2b97-5a6e-4e41-a787-af
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.7.0_67
info: [debug] Checking whether adb is present
info: [debug] Using adb from D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
info: [debug] Parsing package and activity from app manifest
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\aapt.exe
info: [debug] Extracting package and launch activity from manifest.
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\aapt.exe" dump badging D:\androidworkspace\appium_demo\apps\ContactManager.apk
info: [debug] badging package: com.example.android.contactmanager
info: [debug] badging act: com.example.android.contactmanager.ContactManager
info: [debug] Parsed package and activity are: com.example.android.contactmanager/com.example.android.contactmanager.ContactManager
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" devices
info: [debug] 1 device(s) connected
info: Found device 85GBBM922JJY
info: [debug] Setting device id to 85GBBM922JJY
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY wait-for-device
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 21
info: Device API level is: 21
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "getprop persist.sys.language"
info: [debug] Current device persist.sys.language:
info: [debug] java -jar "D:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\androidworkspace\appium_demo\apps\ContactManager.apk" "C:\Users\寰愭稕娑沑AppData\Local\Temp\com.example.android.contactmanager"
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY push "C:\Users\寰愭稕娑沑\AppData\Local\Temp\com.example.android.contactmanager\strings.json" /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\aapt.exe
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\aapt.exe" dump xmltree D:\androidworkspace\appium_demo\apps\ContactManager.apk AndroidManifest.xml
info: [debug] Set app process to: com.example.android.contactmanager
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for D:\androidworkspace\appium_demo\apps\ContactManager.apk.
info: [debug] executing cmd: java -jar "D:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar" D:\androidworkspace\appium_demo\apps\ContactManager.apk
info: [debug] App already signed.
info: [debug] Zip-aligning D:\androidworkspace\appium_demo\apps\ContactManager.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\zipalign.exe
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\build-tools\23.0.2\zipalign.exe" -f 4 D:\androidworkspace\appium_demo\apps\ContactManager.apk C:\Users\寰愭稕娑沑AppData\Local\Temp\-7rmlqa\appium.tmp
info: [debug] MD5 for app is b2de1dc281ec3e71ef1234
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "ls /data/local/tmp/b2de1dc281ec3e71ef1234.apk"
info: [debug] Getting install status for com.example.android.contactmanager
info: [debug] Getting device API level
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 21
info: [debug] executing cmd: "D:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe" -s 85GBBM922JJY shell "pm list packages -3 com.example.android.contactmanager"
info: [debug] App}

我要回帖

更多关于 小米6最省电的版本 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信