{"action":"closed","issue":{"url":"https://api.github.com/repos/calabash/calabash/issues/210","labels_url":"https://api.github.com/repos/calabash/calabash/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/calabash/calabash/issues/210/comments","events_url":"https://api.github.com/repos/calabash/calabash/issues/210/events","html_url":"https://github.com/calabash/calabash/issues/210","id":98681501,"number":210,"title":"Cannot launch cucumber/android project","user":{"login":"jmoody","id":466104,"avatar_url":"https://avatars.githubusercontent.com/u/466104?v=3","gravatar_id":"","url":"https://api.github.com/users/jmoody","html_url":"https://github.com/jmoody","followers_url":"https://api.github.com/users/jmoody/followers","following_url":"https://api.github.com/users/jmoody/following{/other_user}","gists_url":"https://api.github.com/users/jmoody/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoody/subscriptions","organizations_url":"https://api.github.com/users/jmoody/orgs","repos_url":"https://api.github.com/users/jmoody/repos","events_url":"https://api.github.com/users/jmoody/events{/privacy}","received_events_url":"https://api.github.com/users/jmoody/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-03T06:34:31Z","updated_at":"2015-08-04T13:41:12Z","closed_at":"2015-08-04T13:41:12Z","body":"### Reproduce\r\n\r\n1. Follow these instructions.\r\n\r\n```\r\n$ bundle update\r\n$ ./copy_repos.sh\r\n$ ./changing_old_files.sh\r\n$ rake android:build\r\n$ cd cucumber/android\r\n$ be calabash resign ../../spec/resources/android/xtc-android-sample.apk\r\n$ be calabash build ../../spec/resources/android/xtc-android-sample.apk\r\n$ be cucumber\r\n```\r\n\r\n### Notes\r\n\r\nI tried:\r\n\r\n```\r\n$ be calabash run ../../spec/resources/android/xtc-android-sample.apk\r\n```\r\n\r\nbut ran into **Expected behavior of $ be calabash run ../app.apk** #209\r\n\r\nWhich I think can be resolved by updating the env.rb and hooks.rb?\r\n\r\n### Expected\r\n\r\nTo be able to run the cucumber.  This worked at one point.\r\n\r\n### Found\r\n\r\n```\r\n$ CAL_DEBUG=1 be cucumber                                                                                                                                                                                                 \r\nSetting Android SDK location to $ANDROID_HOME\r\nAndroid SDK location set to '/usr/local/opt/android-sdk'\r\nSet aapt path to '/usr/local/opt/android-sdk/build-tools/22.0.1/aapt'\r\nSet zipalign path to '/usr/local/opt/android-sdk/build-tools/22.0.1/zipalign'\r\nSet adb path to '/usr/local/opt/android-sdk/platform-tools/adb'\r\nSet android jar path to '/usr/local/opt/android-sdk/platforms/android-MNC/android.jar'\r\nJava SDK location set to ''\r\nFound java on PATH\r\nSet java path to '/usr/bin/java'\r\nFound keytool on PATH\r\nSet keytool path to '/usr/bin/keytool'\r\nFound jarsigner on PATH\r\nSet jarsigner path to '/usr/bin/jarsigner'\r\nADB Command: devices\r\nADB input: \r\nUsing the default, app and formatter profiles...\r\nFeature: Home Page\r\n  In order to test the Android query and wait APIs\r\n  As a Calabash developer\r\n  I want a set of Scenarios that interact with the Home page.\r\n\r\nEnsuring /Users/moody/git/calabash/calabash/spec/resources/android/xtc-android-sample.apk is installed\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"echo \\\"test\\\"; exit 0\"]\r\nApplication is already installed. Ensuring right checksum\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages -f; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"md5; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"md5 '/data/app/com.xamarin.xtcandroidsample-1.apk'; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nEnsuring the test-server is installed as well\r\nEnsuring /Users/moody/git/calabash/calabash/cucumber/android/test_servers/dd25a450912b6d1b9bb602f64f180bb9_1.9.9.pre2.apk is installed\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nApplication is already installed. Ensuring right checksum\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages -f; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"md5 '/data/app/com.xamarin.xtcandroidsample.test-1.apk'; echo \\\"__CAL_END__$?\\\"; exit 0\"]                                                                                                         [100/10949]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages -f; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"md5 '/data/app/com.xamarin.xtcandroidsample-1.apk'; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages -f; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"md5 '/data/app/com.xamarin.xtcandroidsample.test-1.apk'; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"getprop ro.build.version.release; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"getprop ro.build.version.sdk; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"getprop ro.product.name; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"getprop ro.product.model; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"getprop ro.product.cpu.abi; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"cat /proc/cpuinfo; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"getprop ro.product.manufacturer; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"dumpsys input_method; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"dumpsys input_method; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"am start -e method clear -n com.xamarin.xtcandroidsample.test/sh.calaba.instrumentationbackend.StatusReporterActivity; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, forward, tcp:33765, tcp:33765\r\nADB input: \r\nGetting: http://127.0.0.1:33765/ping\r\nHttp error: HTTPClient::KeepAliveDisconnected: \r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"pm list packages; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nStarting 'sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner' using: 'am instrument  -e \"test_server_port\" \"33765\" -e \"target_package\" \"com.xamarin.xtcandroidsample\" -e \"class\" \"sh.calaba.instrumentatio\r\nnbackend.InstrumentationBackend\" com.xamarin.xtcandroidsample.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner'\r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"am instrument  -e \\\"test_server_port\\\" \\\"33765\\\" -e \\\"target_package\\\" \\\"com.xamarin.xtcandroidsample\\\" -e \\\"class\\\" \\\"sh.calaba.instrumentationbackend.InstrumentationBackend\\\" com.xamarin.xtcandroidsample\r\n.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nGetting: http://127.0.0.1:33765/ping\r\nHttp error: HTTPClient::KeepAliveDisconnected: \r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"ls /data/data/com.xamarin.xtcandroidsample.test/files/calabash_failure.out; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nGetting: http://127.0.0.1:33765/ping\r\nHttp error: HTTPClient::KeepAliveDisconnected: \r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"ls /data/data/com.xamarin.xtcandroidsample.test/files/calabash_failure.out; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nGetting: http://127.0.0.1:33765/ping\r\nHttp error: HTTPClient::KeepAliveDisconnected: \r\nADB Command: -s, 015d168974380006, shell\r\nADB input: [\"ls /data/data/com.xamarin.xtcandroidsample.test/files/calabash_failure.out; echo \\\"__CAL_END__$?\\\"; exit 0\"]\r\nGetting: http://127.0.0.1:33765/ping\r\nHttp error: HTTPClient::KeepAliveDisconnected: \r\n```"}}