golang/go

x/build/env/android-amd64-emu: fix and rebuild image after addition of ANDROID_SDK_ROOT

Open

#41,578 opened on Sep 23, 2020

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Go (19,008 forks)batch import
BuildersNeedsInvestigationhelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

In order to unblock CL 244057 (which fixes #39945), we need to rebuild the android-amd64-emu builder image given that CL 247357 has been submitted.

Doing so needs some fixes because a (Debian) package became unavailable due to a security issue. Copied from a CL comment:

I tried building the new image, but ran into problems.

The openjdk-8-jdk package is no longer available in debian buster (search results suggest because of a security problem). I tried using openjdk-11-jdk instead, but then one of the sdkmanager invocations ran into a java.lang.NoClassDefFoundError exception. Maybe we should update to a newer Android SDK.

This is the tracking issue.

/cc @toothrot @cagedmantis @andybons @hyangah @eliasnaur

Contributor guide