It's not necessarily the software at fault, though ...
(config-if)# ip address 10.23.42.5 255.255.0.0 Add IPv4 address to interface. (config-if)# mac address 1234.5678.90AB Overwrite MAC address. (config-if)# no mac address Remove MAC overwrite.
Setup IntelliJ with Android (plugin, SDKs etc). Get the Android 13 image for the emulator (important: Android 13), then run the emulator. Skip this step if you use a physical device. Make sure you can ...