【发布时间】:2014-08-08 06:54:57
【问题描述】:
当我们从 Compile 中选择时,谁能说出 API 19: Android 4.4 (KitKat) 和 Google APIs (Google Inc.) (API 19) 之间的区别和: ??
【问题讨论】:
标签: android
当我们从 Compile 中选择时,谁能说出 API 19: Android 4.4 (KitKat) 和 Google APIs (Google Inc.) (API 19) 之间的区别和: ??
【问题讨论】:
标签: android
Android api level 19 表示 android 操作系统版本 (kitkat)。它包含标准的 android 包(来自 Android 开源项目)。但是 google api 19 是 android api 19+ google api 之类的 google settings 和 google 提供的其他软件包。
【讨论】:
发件人:Difference between target google APIs and target android
google API 包括 Google 地图和其他 Google 特定的库。 Android 仅包含核心 android 库。
至于选择哪一个,你应该用Android API,直到你发现你需要Google API;例如当您需要 Google 地图功能时。
【讨论】:
正如here 的回答,Google API 包括 Google Play 服务,如地图、Play 商店等。
【讨论】:
现在使用 Google API 真的毫无意义,因为其中包含的大部分(如果不是全部)都已被弃用并转移到 google play 服务。
选择 Google API 不会做任何事情,除了可能会增加程序的大小。不同之处在于,除了 4.4 SDK 之外,您还可以获得所有 Google API 的东西。
正如here的回答。
【讨论】: