Add productFlavor to experimental Android gradle plugin library
问题 I've got a project that uses the experimental gradle plugin, i.e. 0.2.0 . When I've got no productFlavor , I can perfectly integrate a library module in Android Studio and everything works perfectly. But when the library has a productFlavor , I main project doesn't find the library classes. This fix does not appear to work with the experimental gradle plugin. Does anyone have any idea how make flavors work with the new plugin? Library: android.productFlavor { create ('flavor') { ... } }