Question: Is it possible to build a crosswalk-cordova app inside of android studio? 

It looks like you need to use ANT at this point. 

Does anyone know if this is on the roadmap now that android studio is out of beta? 

Our team just built an android wear app so we need to use android studio to create a build and we'd like to start using crosswalk.

Answer: 
I was able to get this working. You need to re-arrange the project structure a bit and use "modules" I created a CordovaLib module and a xwalk\_core\_library module both "Android Libraries" and i referenced CordovaLib from my main project and set xwalk\_core\_library as a dependability for cordovalib.

Make sure to create the xwalk\_core\_library under the package name org.xwalk.core.

See screen shot for project stucture and the xwalk\_core\_library gradle file.

Put the .so files into a jniLibs directory and the android build correctly packages them into your app.

I followed this article to help with building. I plan on setting up seperate builds for x86 and arm.
<http://ph0b.com/android-studio-gradle-and-ndk-integration/#mygradlefile>

I have this working in this github project. Let me know if you run into any issues.
<https://github.com/twilly86/CrossWalkAndroidStudio>

![enter image description here](https://i.stack.imgur.com/NCaLR.png)
In my case, the project with cordova android platform version 4.1.1 (For example Cordova CLI version 5.2.0) works, the Android Studio can build the project.

However, the project with cordova android platform version 5.1.1 (For example Cordova CLI version 6.2.0) has the issue, the Android Studio can not build the project because the Gradle sync brings the error such as

```
exception during working with external system: ndk

```

The critical difference between 4.1.1 and 5.1.1 is the build.gradle file.

In 4.1.1 the build.gradle file choose appropriate gradle version and android plugin version. (like gradle version 2.2 and plugin version 1.0.0+).

In 5.1.1 the build.gradle file does not do such a thing. 

I fix this issue by manually setting the gradle version to 2.2 and plugin version 1.0.0. This can be done in the Android studio by opening the dialog
`File > Project Structure > Project`.