I'm developing an application that needs to be generated in APK and .WAR; I would like to know if there is a way to do this in Android Studio, or will I have to develop two applications in different environments, or if there is another IDE that does this?