gradle-plugin

What's the difference between implementation and compile in Gradle?

99封情书 提交于 2019-11-25 23:00:51
问题 After updating to Android Studio 3.0 and creating a new project, I noticed that in build.gradle there is a new way to add new dependencies instead of compile there is implementation and instead of testCompile there is testImplementation . Example: implementation \'com.android.support:appcompat-v7:25.0.0\' testImplementation \'junit:junit:4.12\' instead of compile \'com.android.support:appcompat-v7:25.0.0\' testCompile \'junit:junit:4.12\' What\'s the difference between them and what should I

Android Material and appcompat Manifest merger failed

不羁岁月 提交于 2019-11-25 18:55:47
I have next grade dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0-rc01' implementation 'com.android.support.constraint:constraint-layout:1.1.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' implementation 'com.google.android.material:material:1.0.0-rc01' } But when I want to build app I get next log: Manifest merger failed : Attribute application@appComponentFactory value=