https://goo.gl/AGR95p
For more information about migrating to Android Gradle Plugin 3.0.0 refer to the guide in our documentation: 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.
Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Aapt2 is enabled by default when you use android plugin for gradle 3.0. This is to
as stated here. But if you are facing issues with it, you can switch back to previous version by adding this in
|