resolve: make sure your two device login the same COC server
resolve: make sure your two device login the same COC server, a helpful way is, use thesame DNS(Domain Name Server), and the COC server domain name is gamea.clashofclans.com, which pointed to a lot of servers using Amazon EC2, your device may use one of them depend on the load-balance-system.
you can run a tiny software, like DNSSpeeder, on your computer, and set the two device (both ios and android) to use your computer's IP address as DNS server (or simplely use google public dns, 8.8.8.8 and 8.8.4.4 if the two device are not linked in the same WIFI), then try.
wish my reply could help you.
and my clan is "爱回家友情部落" and "爱回家友情部落2"