I've managed to install Android Studio with the snap package and run a Java program on the emulator. I still don't know:
*How to install Qt5 on the emulator, or
*How to tell CMake to cross-compile for Android.