-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