How to Compile cocos2dx v2.2.6 with latest android studio

I built app with cocos2dx v2.2.6 in back 2014, can i compile it with latest android-studio ? if yes then how can i achieve this. I have to add latest android support in my old app. Many thanks.