This question already has an answer here:
I was thinking about how does the Angry Bird game for the iOS successfully converted into an Android compatible version. Does it involve using Phonegap or something?
When making games for iOS, the programmer preferred XCode. For Android game app, the programmer preferred Eclipse IDE and a LibGDX engine library. Because of this, like Angry Birds for example, this game became compatible for the iOS, Android, and even on the desktop computer.
The question is...how does it work?