久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

為什么在 Eclipse 的 SDK 中選擇 Android API 而不是

Why would you choose Android API over Google APIs in the SDK on Eclipse?(為什么在 Eclipse 的 SDK 中選擇 Android API 而不是 Google API?)
本文介紹了為什么在 Eclipse 的 SDK 中選擇 Android API 而不是 Google API?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

當(dāng)您在 Eclipse 中創(chuàng)建一個(gè) android 項(xiàng)目時(shí),您必須選擇使用哪個(gè)平臺(tái)進(jìn)行編譯.您可以選擇 API 17 (Android 4.2) 或 Google API (API 17).

When you create an android project in Eclipse, you have to choose which platform to compile with. You can choose API 17 (Android 4.2) or Google APIs (API 17).

據(jù)我了解,Google API 是 API 17 (Android 4.2),但具有地圖庫支持和 USB 開放庫.那么如果 Google API 和 Android 一樣,但功能更多……為什么不每次都選擇它呢?

From my understanding, Google APIs is API 17 (Android 4.2), but has the maps library support and usb open library. So if Google APIs is the same as Android, but with more features... why wouldn't you choose it everytime?

Google API 有缺點(diǎn)嗎?我看到的每個(gè)在線教程,他們都使用 API 17(非 Google API).我一直很好奇為什么他們手動(dòng)將其更改為那個(gè),而不是只使用其中包含更多內(nèi)容的那個(gè).

Is there a downside to Google APIs? Every tutorial online I see, they use API 17 (Non Google APIs). I'm always curious as to why they manually change it to that instead of just using the one that has more in it.

推薦答案

當(dāng)您使用 Google API 運(yùn)行時(shí),您的應(yīng)用將構(gòu)建為在已安裝 Google 服務(wù)(地圖、USB 等)的設(shè)備上運(yùn)行.如果您絕對(duì)需要這些服務(wù),則應(yīng)針對(duì) Google API 構(gòu)建,但您的應(yīng)用將無法在未經(jīng) Google 認(rèn)證的設(shè)備上運(yùn)行(即未安裝 Google Play).

When you run with Google APIs, your app is built to run on a device which has the Google services installed on it already (Maps, USB etc). If you absolutely require these services, you should build against Google APIs, but then your app will not run on device which aren't certified by Google (that is, don't have Google Play installed).

如果您確實(shí)想在沒有 Google Play 的設(shè)備上運(yùn)行,并且您的應(yīng)用不需要任何 Google 服務(wù) 100% 存在,那么您應(yīng)該針對(duì)普通的 Android API 進(jìn)行編譯.

If you do want to run on device without Google Play, and your app does not require any of the Google Services to be 100% present, then you should compile against the normal Android APIs.

請(qǐng)參閱此文檔了解更多關(guān)于 Google 對(duì)認(rèn)證設(shè)備的期望.

See this document for a bit more on what Google expects from certified devices.

這篇關(guān)于為什么在 Eclipse 的 SDK 中選擇 Android API 而不是 Google API?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Couchbase Bucket authentication error(Couchbase 存儲(chǔ)桶身份驗(yàn)證錯(cuò)誤)
admob 6.2.1 nullpointer exception(admob 6.2.1 空指針異常)
How to setup SDK in IntelliJ IDEA?(如何在 IntelliJ IDEA 中設(shè)置 SDK?)
My phone cannot be detected in eclipse to test run(eclipse 無法檢測(cè)到我的手機(jī)進(jìn)行試運(yùn)行)
platform-toolsaapt.exe directory missing in android SDK(android SDK 中缺少 platform-toolsaapt.exe 目錄)
error importing com.google.android.gms.*;(導(dǎo)入 com.google.android.gms.* 時(shí)出錯(cuò);)
主站蜘蛛池模板: 在线播放国产一区二区三区 | a毛片| 国产精品无码专区在线观看 | www.久草.com| 国产精品久久久久久久一区二区 | 亚洲成人精品 | 日韩在线中文字幕 | 羞羞视频免费在线观看 | 国产成人精品久久 | 国产成人免费视频网站高清观看视频 | 天天碰日日操 | 丁香五月网久久综合 | 久草网视频 | 欧美一级做a爰片免费视频 国产美女特级嫩嫩嫩bbb片 | 欧美精品在线一区 | 久久久久久久久中文字幕 | 久久男女视频 | 欧美成年黄网站色视频 | 亚洲久草视频 | 欧美激情在线精品一区二区三区 | 欧美日韩精品影院 | 精品一区二区三区四区 | 成人影音| 亚洲国产精品久久 | 国产激情视频网站 | 国产精品黄色 | 黄色播放 | 日韩av在线一区 | 亚洲综合大片69999 | 成年视频在线观看福利资源 | 欧美精品一 | 在线一区二区三区 | 欧美日本一区 | 日本网站免费在线观看 | 男女视频在线免费观看 | 久久久久久国产精品免费 | 一道本一区二区 | 91成人影院| 成人av一区| 久久9热 | 请别相信他免费喜剧电影在线观看 |