"Unable to list target platforms." Error trying to do Android build on Linux

I’ve downloaded the current Android Studio, ran through the wizard to install and Android SDK, and setup the External Tools Android SDK path inside Unity.

I get this error when trying to make an Android build:

It looks like it’s related to this issue, which is supposedly fixed, but it doesn’t work for me. I’ve tried these versions of Unity:

  • unity-editor_amd64-2017.1.0xf3Linux.deb
  • unity-editor_amd64-2017.2.0xb6Linux.deb
  • unity-editor_amd64-5.6.1xf1Linux.deb

I’ve also tried the workaround of downgrading the Android tools to 25.2.5, but that gives me different error messages:

Try this.

2 Likes

It worked, thanks a ton!