The error "Unable to connect to world" appears when trying to connect with my friend through Xbox Live.
The game does connect in the following cases:
Android > Android
Windows 10 > Android
My friend and I have the same version of the game, we can only play together by using a third party program called "Hamachi" to simulate a LAN network.
Windows 10 X Windows 10
Android X Windows10