-1
我正在通過2臺不同的計算機開發Android應用程序,當我在家時桌面和筆記本電腦上路時。我很確定應用程序項目文件夾是完全相同的,庫項目(Google Play服務)也是如此。唯一的區別是API Key,我必須在Google Developer Console上創建2個不同的密鑰。奇怪的是,今天我剛剛意識到我從筆記本電腦安裝的應用程序沒有顯示地圖。這是我從logcat中發現:Google Maps API V2未顯示
10-08 08:49:23.491: W/ResourcesManager(25061): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
10-08 08:49:23.491: W/ResourcesManager(25061): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
10-08 08:49:23.491: W/asset(25061): Asset path /system/framework/com.google.android.ble.jar is neither a directory nor file (type=1).
10-08 08:49:23.491: W/ResourcesManager(25061): Asset path '/system/framework/com.google.android.ble.jar' does not exist or contains no resources.
10-08 08:49:23.505: I/Google Maps Android API(25061): Google Play services client version: 5089000
10-08 08:49:23.517: I/Google Maps Android API(25061): Google Play services package version: 6111038
10-08 08:49:23.867: D/REQUEST(25061): Using server: https://clients4.google.com/glm/mmap/api
10-08 08:49:23.887: D/REQUEST(25061): Add Data Request: 75
10-08 08:49:23.894: D/REQUEST(25061): Add Data Request: 75
10-08 08:49:24.074: D/USER_EVENTS(25061): Event: type=78, status: MD, data: T
10-08 08:49:24.202: D/USER_EVENTS(25061): Event: type=113, status: mc, data:
10-08 08:49:24.205: D/REQUEST(25061): Add Data Request: 147
10-08 08:49:24.280: I/Choreographer(25061): Skipped 54 frames! The application may be doing too much work on its main thread.
10-08 08:49:24.604: D/USER_EVENTS(25061): Event: type=58, status: gl, data: |r=8|g=8|b=8|a=0|d=24|s=8|v=Qualcomm|i=OpenGL ES-CM 1.1|c=Adreno (TM) 330|e=t|
我猜這是我的谷歌遊戲筆記本服務庫,缺陷,但我想用一個較新的版本替換它。我也嘗試更新我的API密鑰。
是不是密鑰庫限制在每臺計算機上安裝的Java? – 2014-10-08 02:57:00
密鑰庫只是java用於密鑰庫的文件格式。它們不包含將它們與特定系統聯繫起來的任何信息。它們可以根據需要在系統和目錄之間自由複製。 – 2014-10-08 04:35:21
@nggrian你解決安裝最新的谷歌播放服務?因爲我不明白爲什麼如果軟件包版本對客戶端軟件版本已經是最新的方面了,您需要更新軟件包。 – DQuaglio 2015-04-07 12:37:24