Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is difference between compileSdkVersion 'Google Inc.:Google APIs:23' and compileSdkVersion 23

Inside the Gradle.build file I see some projects using

compileSdkVersion="'Google Inc.:Google APIs:23"

and some are just using the number

compileSdkVersion="23"

What is the difference between the two?

like image 805
shekhar pande Avatar asked Mar 16 '16 15:03

shekhar pande


1 Answers

The latter one is correct for the vast majority of projects.

The former one would only be needed for apps using the long-since-deprecated Maps V1 API.

like image 154
CommonsWare Avatar answered Nov 09 '22 12:11

CommonsWare