Published on October 25, 2017 by Android Developers

For more information about migrating to Android Gradle Plugin 3.0.0 refer to the guide in our documentation: goo.gl/AGR95p

Android Plugin version 3.0.0 brings many improvements to build times, especially for multi-module projects. When updating your build files to the newest version however, you might have to watch out for some DSL changes. In this video we show how to deal with errors such as missing flavor dimensions, providing fallbacks for missing build types and flavors in libraries and migrating to a new way of declaring Gradle dependencies.

Subscribe to the Android Developers channel here: goo.gl/vLYDU

#tools #gradle

Leave a Reply

103 Comments on "Migrating to Android Gradle Plugin 3.0.0"

Notify of
avatar

META T
Guest
META T
3 days 4 hours ago

despite the overall negative feedback, i got my problem fixed. thanks

Mateus Dias
Guest
Mateus Dias
1 month 6 days ago

Google should learn from the python people. Every day that passes is more ultra annoying to do something for Android. Definitely a disgrace! Every time they mess up posts and more posts in the stackoverflow of people getting bored to solve problems with Gradle!

তমাল মজুমদার
Guest
তমাল মজুমদার
1 month 8 days ago

it's very disgusting to working with gradle ! it tooks 30-40 min to Sync! i should left android. older version was very easy to work…. i should give up. last 3 days i faced unexpected matadata problem(to solve use 4.7 version instead 4.6 ) . now i solved this .but every time to start a new project i have to wait 30 min for its bloody Sync! yes i am angry !

Mark Cosmic Goo Zachary
Guest
Mark Cosmic Goo Zachary
1 month 9 days ago

If I spent as much time studying JAVA as I've spent trying to get Android Studio to work (AVD crashes) I'd be an expert. Since the latest update, I haven't been able to test my apps, do to AVD crashes or Gradle crashes. Android Studio 3.1.2 is too complicated for the beginner. Most likely so for everyone else. Please fix it. Or give up. It doesn't work. I might as well be using a text editor.

caner demirci
Guest
caner demirci
1 month 11 days ago

bullshit

gromova
Guest
gromova
1 month 13 days ago

What did i just do? I shouldnt never ever upgrade Android Studio!! Now i am sitting with a broke code and a broke heart. I am a beginner, and i really dont know what to do, i am reading and reading since hourse 🙁 What can i do, pleas help 🙁

Sam AdvanES
Guest
Sam AdvanES
2 months 11 days ago

Android Studio is developed ONLY for themselves NOT for the app developers. You guys make life harder! It SUCKS!!!! DAMN IT!!!

Varol Okan
Guest
Varol Okan
2 months 25 days ago
Why change gradle syntax ALL the freaking time ?Every AndroidStudio upgrade breaks all apps and there is no good documentation to follow.What happened to dependency.compile, why is classpath no longer working after a forced upgrade to gradle 4.4. Why do I have to waste days on this build system that changes so often. Why can I NOT simply continue to use gradle 3.3 instead of a forced upgrade.This is costing development time is expensive and frustrating. Please please please stop this insanity OR provide a tool to update ALL build.gradle scripts to the new syntax OR offer a payed for… Read more »
avinashmore
Guest
avinashmore
3 months 21 hours ago

Why I am getting gradle error for New Application on fresh laptop. What is point having setup wizard, but why major release always missing smooth backward compatibility and we need to waste development hours. Internet filled with new versions developer problems. I waste enough time and back to old version 🙁

nyx
Guest
nyx
3 months 7 days ago

Why do you insist on making this so complicated?

1 2 3 8
wpDiscuz