The AAPS app (an apk file) is not available for download, due to regulations around medical devices. It is legal to build the app for your own use, but you must not give a copy to others!
See FAQ page for details.
Two methods are available to build the AAPS app:
You can build the app with your smartphone using GitHub actions, and save it in your Google Drive.
You can build the app with your computer using Android Studio.