Tag: calabash android

运行失败INSTALL_FAILED_TEST_ONLY

我新使用葫芦来测试Android应用程序。 我实现了一些测试来validationAndroid Studio 3.0.1和Gradle版本2.3.3实现的apk,并且工作正常。 当我尝试执行测试来validation使用Gradle版本3.0.1和Kotlin(相同的AS)创建的新应用程序时出现问题。 执行命令: bundle exec calabash-android run app-release.apk 我得到这个: adb: failed to install /Users/sonia/Documents/calabash-test-android/app-release.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI] Scenario: As a valid user I can log into my app #features/my_first.feature:3 undefined method `chomp’ for nil:NilClass (NoMethodError) ./features/support/app_installation_hooks.rb:18:in `Before’ Will not start test server because of previous failures. (RuntimeError) ./features/support/app_life_cycle_hooks.rb:5:in `Before’ When I press […]