1,配置'compile'已经过时,已被'implementation'和'api'取代。
将compile替换成api即可,conpile和api等同。
2,Android Gradle插件无法识别SourceSet的“instrumentTest”。
将androidTest替换instrumentTest,编译运行即可。
3,Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'.
将androidTestImplementationt替换androidTestCompile',编译运行即可。
4 ,配置'testCompile'已过时,已被'testImplementation'和'testApi'取代。
将testImplementation替换testCompile,编译运行即可。