Bumping the SDK platform variable in the plugin config to android-25 should Just Work but actually doesn't because of a change in the system image naming conventions beginning in API 25 that isn't accounted for in the plugin. We have have a fork of the upstream repo now, with a patch submitted for review with the needed change. Maybe we can look at getting some needed changes like this merged upstream.
N.B. Reference screenshots may also need updating as a result of the SDK version change.
status update
The apps-android-wikipedia-periodic-test job is now configured to use android-25 to take snapshots. @Mholloway proposed two patches to update the Android Plugin which I have deployed them on the Jenkins master.
https://gerrit.wikimedia.org/r/#/c/366253/ to support a change in the system name introduced by android-25 > Github PR #69
https://gerrit.wikimedia.org/r/#/c/366965/ is the related CI config change to switch to android-25 and change the ABI from x86 to google_apis/x86 (fix found by @Mholloway
https://gerrit.wikimedia.org/r/#/c/366484/ get rid of the -engine classic which is QEMU1. There are a couple side effects:
- QEMU2 no more supports -no-audio, one has to pass QEMU_AUDIO_DRV=none. The CI change is https://gerrit.wikimedia.org/r/#/c/366908/
- the instance has four CPU and the build time went from ~45 minutes to ~11 minutes.
That finally address T158014: Investigate how to improve Android CI performance and stability !
The job currently fails due to screenshot differences. That is apparently not related to the platform or QEMU change.