Note: There is no need to install Android studio or android dependencies, below I provided a way to not have to do that
Make sure to remember to install these dependencies on Ubuntu:
In QT Creator, go to Edit -> Preferences -> Devices -> Android
Then for "Android SDK Location", select the unzipped directory
Main two differences between what my setup looks like and yours. 1. You won't see ndk 25.1.89 2. my QT is in dark mode. That is fine
GStreamer Setup (Required for video to work on Android)
If you were to configure your project and build right now, you would run into a gstreamer error. To fix this, you need to download gstreamer-1.0-android-universal-1.18.6 here: https://gstreamer.freedesktop.org/data/pkg/android/1.18.6/gstreamer-1.0-android-universal-1.18.6.tar.xz
Next, extract this zip file into a folder with the same name as the zip but without the .tar.bz2:
To do this, navigate to where gstreamer-1.0-android-universal-1.18.6.tar.xz is located. By default it should have downloaded to your Downloads directory.
Next, let's make the directory where you will zip the contents of the zip file into:
Next, let's unzip the tar.bz2 file into that directory we made:
If you get an error that says "Cannot open: No such file or directory" when running the tar command, you likely downloaded the tar file to a different directory than the one you are on. Make sure you are in the Downloads directory. If you are, you probably downloaded it to a different directory.
The structure after extracting the archive and moving it into qgroundcontrol-herelink-ift should look like this: