Google released Android Studio 3.0, you should probably NOT upgrade yet (as Cordova is not ready yet but working on it)


See here:

Cordova devs had this to say just now in Slack:

Don’t update to Android Studio 3.0 or use the latest Android Gradle plugin, it will break your build and Cordova will not compile.
We are working on yet another fix for this issue, and there will be a 6.4.0 release for it soon, but as of right now, stick to the old version of Android Studio
BTW: If you do update your Android Studio and your Android Studio offers to upgrade your Gradle plugin, always say no

Issue for tracking the Cordova changes:

So who updates anyway and tells us how it breaks?

Android build broken after gradle dependencies update: Execution failed for task ':processDebugResources'. > Failed to execute aapt

Sounds like the perfect upgrade for me. I’m always looking for a good excuse to not work hahaha


I updated to Android Studio 3.0 and as expected build fails with CordovaLib. Then i followed the steps mentioned in and able to solve the issues right away.

dependencies {
compile fileTree(dir: ‘libs’, include: ‘*.jar’)

“I commented out the below lines as mentioned in the post”

//debugCompile(project(path: “CordovaLib”, configuration: “debug”))
//releaseCompile(project(path: “CordovaLib”, configuration: “release”))

implementation project(':CordovaLib')
compile ""
compile "me.leolin:ShortcutBadger:1.1.17@aar"
compile ""



Good work! Ever since I updated earlier this week, this problem has been plaguing me. I really appreciate this. @vasind


cordova-android 6.4.0 fixed that by the way and works with the current Android tooling.


@Sujan12 Yes. after updating it works as expected with Android Studio 3.0. Thanks for the information.


I upgraded this week to cordova-android@6.4.0 and android studio 3.0.

Furthermore to these, I had then to install a local gradle and everything went fine.

Could confirm build of my app still works (inclusive --prod --release) and that the features still work as excepted (did a full manual test of my app)


How can I upgrade to this version? I tried ionic cordvoa platform update android and it says: “Android project updated with cordova-android@6.1.2”


@peterp when it goes to cordova, at least, if you wish to use the latest release, I think you should add @latest to your cmd

ionic cordova platform update android@latest

or you could specify the version you would like to use, like displayed in the release notes

ionic cordova platform update android@6.4.0