以下是我在.sh文件中运行的命令:
rm -rf screenshot*rm -rf test_serversbundle exec calabash-androID build "jenkins.apk"bundle exec calabash-androID run "jenkins.apk" -p androID -v
这是错误日志:
2017-04-28 14:03:36 – Installing:
test_servers/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk 2017-04-28
14:03:36 – [ 10%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk [ 21%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk [ 32%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk [ 43%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk [ 53%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk [ 64%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk [ 75%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk [ 86%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk [ 96%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk [100%]
/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk adb: error:
Failed to copy
‘test_servers/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk’ to
‘/data/local/tmp/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk’: remote
Read-only file system
test_servers/0124c485b6b2589f08b4f8d4e6c01c05_0.9.0.apk: 0 files
pushed. 11.6 MB/s (609369 bytes in 0.050s) 2017-04-28 14:03:40 – java
-jar “/usr/local/lib/ruby/gems/2.4.0/gems/calabash-androID-0.9.0/lib/calabash-androID/lib/screenshottaker.jar”
emulator-5744 “screenshot_0.png” 2017-04-28 14:03:41 – It looks like
your app is no longer running. It Could be because of a crash or
because your test script shut it down. 2017-04-28 14:03:41 – Server
not responding. Moving on. Build step ‘Execute shell’ marked build as
failure
任何人都可以解释为什么apk不会安装在这个模拟器上,为什么它有一个“远程只读文件系统?
编辑:我尝试添加以下内容:
adb remount
但我仍然得到同样的错误.
解决方法 你能试一下吗adb shellsumount -o remount,rw /system
让我知道那是做什么的?
Credit
以上是内存溢出为你收集整理的calabash-android – 安装APK – 远程只读文件系统时出错全部内容,希望文章能够帮你解决calabash-android – 安装APK – 远程只读文件系统时出错所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)