Here are some instructions to run Android Studio
https://www.tspi.at/2018/11/22/androidfreebsddev.html
As the author of that linked page I've to say that (as mentioned in the first paragraph) these instructions don't work any more (at least not when one tries to sync a project or run a build - the IDE works for most parts but for me that's not really "working"). The main reason being aapt2 - but there also emerged some other problems using gradle as the build system for Android on FreeBSD. At some point I've stopped trying to fix that and ran Android Studio on a remote Linux host using X11 forwarding.