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

96 Comments on "Migrating to Android Gradle Plugin 3.0.0"

Notify of
avatar

Sam AdvanES
Guest
Sam AdvanES
8 days 23 hours 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
23 days 12 hours 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
29 days 19 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 🙁

nyx211
Guest
nyx211
1 month 5 days ago

Why do you insist on making this so complicated?

ReckonTech
Guest
ReckonTech
1 month 21 days ago

Error:java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.AaptException:my error is this …how to solved that

Bamaiyi Bongo
Guest
Bamaiyi Bongo
1 month 29 days ago

please i need help Error:A problem occurred configuring root project> Could not resolve all files for configuration ':classpath'. > Could not resolve com.android.tools.build:gradle:3.0.0. Required by: project : > No cached version of com.android.tools.build:gradle:3.0.0 available for offline mode. > No cached version of com.android.tools.build:gradle:3.0.0 available for offline mode.

Νίκος Αβραμίδης
Guest
Νίκος Αβραμίδης
1 month 29 days ago

Error:Unable to resolve dependency for ':@debug/compileClasspath': Could not resolve project :CordovaLib. WTF I CANT FIX DAT.

patel vaibhavee
Guest
patel vaibhavee
2 months 31 minutes ago

Sir,. My run button is disable. Please help me.

Tiago Romao
Guest
Tiago Romao
2 months 25 days ago

Why is Android Studio always changing!!?? It really difficult to keep updated with all the "flavours". It's the most difficult tool to learn about. Looks like google is always looking for a way to hassle the programmer. Come on !

Latest News
Guest
Latest News
3 months 3 days ago

Wine Qemu integration for Android is not yet fully complete, meaning you will currently ONLY be able to run Win32 applications on x86 devices and WinRT applications on ARM devices.

1 2 3 8
wpDiscuz