compileSdkVersion'Google Inc.:Google APIs:23'和compileSdkVersion 23之间有什么区别?

时间:2016-03-16 15:38:55

标签: android android-gradle

在Gradle.build文件中,我看到一些使用

的项目
compileSdkVersion="'Google Inc.:Google APIs:23"

有些人只是使用数字

compileSdkVersion="23"

两者有什么区别?

1 个答案:

答案 0 :(得分:13)

后者适用于绝大多数项目。

只有使用长期以来不推荐使用的Maps V1 API的应用才需要使用前者。

相关问题