
Hopefully it will also benefit someone else trying to do the same thing. Okay I've figured it out so I'll just answer my own question. Although the version nr doesn't make sense to me but from what I can gather the versions are very specific.īut now I'm stuck on the error "Module android is not backed by gradle" and I don't know what to do. current version is 2.2.1" and after some googling I found a hint here and I changed a line in Gradle from ':gradle:0.10.+' to :0.14.+' and now the RUN icon at the top is enabled so it seems to have fixed at least something. cordova create hello HelloWorldĢ) Then I start Android Studio and import the generated app and a message "Gradle settings for this project are not configured yet" appears and I press OK.ģ) Then I get an error "Gradle version 1.10 is required. Here's what I've tried:ġ) I've generated a cordova app and added android as platform. So now I'm trying to get the new Phonegap/Cordova app up and running in Android Studio but so far without any luck. Or use like a Jitpack dependency into your(s) build.A while back I've worked with Eclipse and Phonegap and I've successfully deployed a few Android apps. Add this imported module like a dependency on adle like this:.Import the cordovapackage-release.aar into your android native project from File > New Module > Import.

PS: The file cordovapackage-release.aar will be generated in: cordovapackage/build/outputs/aar Into this project path, run the command: (or use Android Studio).The cordovapackage-release.aar file will be generated on: build/outputs/aar folder See Monitor the build process documentation Search :cordovapackage > Tasks > build and run assembleRelease task.

Clone this repo and open this project with Android StudioĬlick on View > Tool Windows > Gradle (or click Gradle in the tool window bar).

aar file with all cordova android coreĭependencies from cordova.6.2.3-release/framework-release.aar, + cordova plugins stored in: cordovapackage/src/main/java This project use mfdeveloper/android-fat-aar (a fork off adwiv/android-fat-aar) that contains custom gradle tasks, This is a apache cordova-android + plugins library android project that you can use like dependency to run cordova apps from your native android app Dependencies
