从程序运行日志猫使用谷歌游戏服务罐子不匹配 [英] jar mismatch from log cat on program run using google play service
问题描述
IM下面的教程和我遇到了几个问题做的这个的教程从这里现在输入链接的描述这个问题是什么似乎是问题。我能立即生成SHA1和我已经导入了谷歌Play业务的lib,但现在我也遇到过这个问题,我怎么想出这个和我如何解决这个问题
im following a tutorial and i have encounter a couple of problem doing this tutorial from enter link description here and now this problem what seem to be the problem. i was able to generate the sha1 now and i have imported the google play service lib but now i have encountered this problem how did i come up with this and how do i fix this
更新 我有这个在我的SDK 更新 支持文件夹看起来像这样
UPDATE i have this on my SDK UPDATE support folder looks like this
推荐答案
罐子不匹配是由于不同版本的支持库。
The jar mismatch is due to different version of the support library.
您可以复制 Android的支持-V4 /瓶
从 SDK /演员/安卓/支持/ V4 / Android的支持-V4。罐
来的libs文件夹无论谷歌播放服务库项目和你的Android项目。
You can copy the android-support-v4/jar
from sdk/extras/android/support/v4/android-support-v4.jar
to the libs folder of both Google play services library project and your Android project.
请确保您有更新的支持库。
Make sure you have the updated Support Library.
您可以检查添加支持库没有资源 @
https://developer.android.com/tools/support-library/ setup.html
编辑:最新的修订版19.0.1如在下面的快照
The latest is rev 19.0.1 as shown in the below snap shot
下载
编辑:
你看见这在 SDK /演员/安卓/支持
。然后打开v4和复制的罐子既libs文件夹
Do you see this under sdk/extras/android/support
. Then open v4 and copy the jars to both libs folder
这篇关于从程序运行日志猫使用谷歌游戏服务罐子不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!