Compilation (Android from Linux) issues

Hi all,

I’m trying to compile RetroArch for Android from Linux. I followed the steps documented in the Compilation Guide (https://github.com/libretro/RetroArch/wiki/Compilation-guide-(Android-from-Linux)) and I fear that the guide could be out of date (and maybe missing some infos?).

First issue I ran into is:

Building RetroArch - the “android” command is no longer supported

Looks like an issue with newer Android Studio installations. When calling “android”, the output is:

For manual SDK and AVD management, please use Android Studio. For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager

I tried calling sdkmanager and avdmanager instead of android, the output is:

$ android update project --path . Warning: Unknown argument --path

My current setup is:

  • Debian 8.7 x64
  • Android Studio 2.3
  • Android SDK Platform-Tools 25.0.4
  • Android SDK-Tools 25.3.1
  • NDK 14.0.3770861
  • SDK Platforms (18, 19, 25)
  • ant 1.9.4