Anbox had been deprecated, and cannot/shouldn't be used.
One alternative is Waydroid:
https://github.com/waydroid/waydroid
References:
https://wiki.archlinux.org/title/Anbox
yay -S anbox-git android-tools anbox-modules-dkms
sudo modprobe binder_linux devices=binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder
sudo modprobe ashmem_linux
mkdir -p /dev/binderfs
sudo mount -t binder binder /dev/binderfs
sudo nano /etc/modules-load.d/anbox.conf
And paste the following:
ashmem_linux binder_linux
nmcli con add type bridge ifname anbox0 -- connection.id anbox-net ipv4.method shared ipv4.addresses 192.168.250.1/24
sudo systemctl enable anbox-container-manager.service
adb install /path/to/app.apk
As updated in the gist itself, you should take a look at Waydroid.