Error Message:
Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist! Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!
Solution: Turn on developer permissions on the phone, turn the USB debugging button back on, and then restart the emulator
Reference link: https://www.cnblogs.com/uniquefu/p/11496211.html