com.android.builder.testing.ConnectedDevice > hasTests[test(AVD) – 5.0] FAILED

Updated response: VM images already include fixed android-wait-for-emulator script and android SDK tools version 24.0.0 by default solving other issues. Build Environment Updates – 2014-12-09 Brief response: Bugged script causes your emulator don’t be ready for your tests and your app is not installed due a timeout, so there are no tests performed and the … Read more

apt-get update fails with 404 in a previously working build

This is due to the fact that as Wheezy and Jessie have been integrated into the archive.debian.org structure recently, we are now removing all of Wheezy and all non-LTS architectures of Jessie from the mirror network starting today. (As you can read here) A solution (according to https://github.com/debuerreotype/docker-debian-artifacts/issues/66#issuecomment-476616579) is to add this line: RUN sed … Read more

Travis CI failed because cannot accept license Constrain Layout

Updated response is there any solution without workaround using export license? Yes, you can use the new sdkmanager to install the constraint library and accept the license: – echo yes | sdkmanager “extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2” – echo yes | sdkmanager “extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2” Otherwise, the missing component will be detected by gradle and downloaded without accept it: # Show … Read more

Use xcodebuild (Xcode 8) and automatic signing in CI (Travis/Jenkins) environments

I basically run into the same issue using Jenkins CI and the Xcode Plugin. I ended up doing the build and codesigning stuff myself using xcodebuild. 0. Prerequisites In order to get the following steps done successfully, you need to have installed the necessary provisioning profiles and certificates. That means your code signing should already … Read more

Error: Local workspace file (‘angular.json’) could not be found

I just had the same problem. It’s related to release v6.0.0-rc.2, https://github.com/angular/angular-cli/releases: New configuration format. The new file can be found at angular.json (but .angular.json is also accepted). Running ng update on a CLI 1.7 project will move you to the new configuration. I needed to execute: ng update @angular/cli –migrate-only –from=1.7.4 This removed .angular-cli.json … Read more

How to run travis-ci locally

This process allows you to completely reproduce any Travis build job on your computer. Also, you can interrupt the process at any time and debug. Below is an example where I perfectly reproduce the results of job #191.1 on php-school/cli-menu . Prerequisites You have public repo on GitHub You ran at least one build on … Read more