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

**URL:** <https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967>\
**Category:** ionic-v3\
**Created:** [October 25, 2017, 6:42pm UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967 "2017-10-25T18:42:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [October 25, 2017, 6:42pm UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967/1 "2017-10-25T18:42:48Z")

</div>

See here:

> **[Android Studio 3.0](https://android-developers.googleblog.com/2017/10/android-studio-30.html)**
>
> News and insights on the Android platform, developer tools, and events.

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: [[CB-13289] Gradle/Android Plugin DSL change breaks including CordovaLib - ASF JIRA](https://issues.apache.org/jira/browse/CB-13289)

So who updates anyway and tells us how it breaks?

---

<div class="post-metadata">

**Author:** ![763a0bc7](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/763a0bc7/32/114473_2.png) [@763a0bc7](https://forum.ionicframework.com/u/763a0bc7)\
**Post date:** [October 25, 2017, 8:41pm UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967/2 "2017-10-25T20:41:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vasind](https://avatars.discourse-cdn.com/v4/letter/v/74df32/32.png) [@vasind](https://forum.ionicframework.com/u/vasind)\
**Post date:** [October 30, 2017, 4:52am UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967/3 "2017-10-30T04:52:15Z")

</div>

I updated to Android Studio 3.0 and as expected build fails with CordovaLib. Then i followed the steps mentioned in [https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html](https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html) and able to solve the issues right away.

dependencies {  
compile fileTree(dir: ‘libs’, include: ‘\*.jar’)  
// SUB-PROJECT DEPENDENCIES START

> “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 "com.android.support:support-v13:25.1.0"
compile "me.leolin:ShortcutBadger:1.1.17@aar"
compile "com.google.firebase:firebase-messaging:11.0.1"
// SUB-PROJECT DEPENDENCIES END

```

}

---

<div class="post-metadata">

**Author:** ![RickSanchez](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ricksanchez/32/114143_2.png) [@RickSanchez](https://forum.ionicframework.com/u/RickSanchez)\
**Post date:** [November 17, 2017, 8:53pm UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967/4 "2017-11-17T20:53:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [November 17, 2017, 9:00pm UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967/5 "2017-11-17T21:00:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vasind](https://avatars.discourse-cdn.com/v4/letter/v/74df32/32.png) [@vasind](https://forum.ionicframework.com/u/vasind)\
**Post date:** [November 18, 2017, 9:26am UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967/6 "2017-11-18T09:26:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [November 18, 2017, 9:43am UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967/7 "2017-11-18T09:43:07Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![peterp](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/peterp/32/115116_2.png) [@peterp](https://forum.ionicframework.com/u/peterp)\
**Post date:** [November 19, 2017, 2:18am UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967/8 "2017-11-19T02:18:52Z")

</div>

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”

---

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [November 19, 2017, 8:55am UTC](https://forum.ionicframework.com/t/google-released-android-studio-3-0-you-should-probably-not-upgrade-yet-as-cordova-is-not-ready-yet-but-working-on-it/109967/9 "2017-11-19T08:55:25Z")

</div>

@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 [https://cordova.apache.org/announcements/2017/11/09/android-release.html](https://cordova.apache.org/announcements/2017/11/09/android-release.html)

```
ionic cordova platform update android@6.4.0
```
