久久久久久久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?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

當您在 Eclipse 中創建一個 android 項目時,您必須選擇使用哪個平臺進行編譯.您可以選擇 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).

據我了解,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 有缺點嗎?我看到的每個在線教程,他們都使用 API 17(非 Google API).我一直很好奇為什么他們手動將其更改為那個,而不是只使用其中包含更多內容的那個.

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.

推薦答案

當您使用 Google API 運行時,您的應用將構建為在已安裝 Google 服務(地圖、USB 等)的設備上運行.如果您絕對需要這些服務,則應針對 Google API 構建,但您的應用將無法在未經 Google 認證的設備上運行(即未安裝 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).

如果您確實想在沒有 Google Play 的設備上運行,并且您的應用不需要任何 Google 服務 100% 存在,那么您應該針對普通的 Android API 進行編譯.

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.

請參閱此文檔了解更多關于 Google 對認證設備的期望.

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

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

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

相關文檔推薦

Couchbase Bucket authentication error(Couchbase 存儲桶身份驗證錯誤)
admob 6.2.1 nullpointer exception(admob 6.2.1 空指針異常)
How to setup SDK in IntelliJ IDEA?(如何在 IntelliJ IDEA 中設置 SDK?)
My phone cannot be detected in eclipse to test run(eclipse 無法檢測到我的手機進行試運行)
platform-toolsaapt.exe directory missing in android SDK(android SDK 中缺少 platform-toolsaapt.exe 目錄)
error importing com.google.android.gms.*;(導入 com.google.android.gms.* 時出錯;)
主站蜘蛛池模板: 国产午夜精品视频 | 涩涩视频大全 | 欧美日韩成人一区二区 | 天堂网色 | 欧美a区 | 久久这里只有精品首页 | 欧美理论片在线 | 超碰网址| 一区二区三区国产 | 精品日韩一区 | 久久久久中文字幕 | 国产乱一区二区三区视频 | 欧美日韩亚洲视频 | 国产99视频精品免费视频7 | 伊人一区 | ww 255hh 在线观看 | 看羞羞视频 | 国产高清在线视频 | 日韩av免费在线电影 | 久久毛片 | 亚洲欧美综合网 | 国产成人jvid在线播放 | www.黄色片视频 | 中文字幕在线一区二区三区 | 色婷婷亚洲一区二区三区 | 成年视频在线观看福利资源 | 亚洲精品国产区 | 秋霞在线一区二区 | 国产aⅴ爽av久久久久久久 | 日韩欧美精品 | 在线播放国产一区二区三区 | 国产精品二区三区 | 久久com| 伊人伊人 | 91成人在线 | 欧美一级做a爰片免费视频 国产美女特级嫩嫩嫩bbb片 | 国产成人综合亚洲欧美94在线 | 成人欧美一区二区三区在线观看 | 伊人av在线播放 | 久久国产精彩视频 | 精品国产一区二区三区日日嗨 |