[WARNING: Configuration 'compile' is obsolete and hasbeenreplaced with 'implementation' and 'api'.WARNING: Configuration 'androidTestCompile' is obsolete and hasbeen <
Configuration 'androidTestCompile' is obsolete and hasbeenreplaced with 'androidTestImplementation'Configuration 'androidTestApi' is obsolete and hasbeenreplaced with 'and
Configuration 'compile' is obsolete and hasbeenreplaced with 'implementation'.buildToolsVersion '26.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now hasUpdate Build
> Configure project :app
WARNING: Configuration 'compile' is obsolete and hasbeenreplaced with 'implementationand hasbeenreplaced with 'variant.getAssembleProvider()'.WARNING: API 'v
'compile' is obsolete and hasbeenreplaced with 'implementation' and 'api'.API 'variant.getAssemble()' is obsolete and hasbeenreplaced with 'variant.getAssembleProvider()&
and hasbeenreplaced with 'variant.getAssembleProvider()'.WARNING: API 'variant.getMergeResources()' is obsolete and hasbeenreplaced with 'variant.getMergeResourcesProviderWARNING: API 'variant.getMergeAs
WARNING: API 'variant.getAssemble()' is obsolete and hasbeenreplaced with 'variant.getAssembleProviderWARNING: API 'variantOutput.getProcessResources()' is obsolete and hasbeenreplaced with 'var
在使用最新的Android Studio (3.1.4)编译一个旧的Android项目时,我得到了这两行代码:
WARNING: Configuration 'testCompile' is obsoleteand hasbeenreplaced with 'testImplementation' and 'testApi'.WARNING: Configuration 'testApi' is
and hasbeenreplaced with 'variant.getAssembleProvider()'.WARNING: API 'variantOutput.getProcessManifest()' is obsolete and hasbeenreplaced with 'variantOutput.getProcessManifestProviderWARNING: API 'vari
Maven repository and sync projectAffected Modules: app
WARNING: Configuration'compile' is obsolete and hasbeenreplaced with 'implementation' and 'api'.'testCompile' is
> Configure project :app WARNING: Configuration 'compile' is obsolete and hasbeenreplaced with 'implementation' and 'api'.'compile' is obsolete and has
Starting a Gradle Daemon (subsequent builds will be faster)
WARNING: Configuration'compile' is obsolete and hasbeenreplaced with 'implementation' and 'api'.'compile'