NDK is missing a "platforms" directory

There was some change in the GitHub Actions runners installed software that now makes my Android builds give the following: NDK is missing a “platforms” directory.

Prior to change on January 14 there used to be a directory inside NDK:

`/usr/local/lib/android/sdk/ndk-bundle/platforms`

As of version deployed on January 14 that directory is not present anymore.

Last successful build on January 13, 2020:

Current runner version: ‘2.275.1’
Operating System
Ubuntu
18.04.5
LTS
Virtual Environment
Environment: ubuntu-18.04
Version: 20201210.0

Version the next day January 14, 2020 when it started failing:

Current runner version: ‘2.275.1’
Operating System
Ubuntu
18.04.5
LTS
Virtual Environment
Environment: ubuntu-18.04
Version: 20210111.1

Based on different versions of the virtual environment on those days, i guess something got screwed up in that update. Please advise on whether this is a bug or whether I should be doing something else about my NDK setup going forward.

Thank you!
Yuriy

It looks like there was an issue with NDK in the latest release of the actions environment, yeah:

Seems like they’re rolling back to a previous version though, so I guess you should stop seeing this issue soon I believe.

https://github.com/actions/virtual-environments/issues/2481#issuecomment-763700114

1 Like