An App Inventor aia source file is unique to App Inventor. There is presently no automatic conversion to Java (Eclipse or Android Studio) tool. You need to write the code yourself. An apparently abandoned 'converted' AI Classic code to Java and the code is useless with AI2
https://code.google.com/p/appinventor-java-translation/ . The last update in this project was in 2012.
It might be simpler to re-code the AI2 app in Android Studio than using the techniques described in Derek's interesting and clever video.
Regards,