Facebook的Andr​​oid的SDK兼容性问题 [英] facebook-android-sdk compatibility issue

查看:177
本文介绍了Facebook的Andr​​oid的SDK兼容性问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的这个示例应用程序: https://github.com/prajwol/Birthday-Reminder中,他们使用了老Facebook的Andr​​oid的SDK ,但现在他们都指向Facebook的Andr​​oid SDK中3.0是最新的,因为这个示例应用程序已经2年前做,现在我想使用这个应用程序但我不知道这是旧的Facebook SDK和我在哪里可以得到一个,或者如果我想使这个程序可运行的是更新Facebook的SDK是3.0 所以我需要做的使这个程序能工作对我来说。

I am using this sample application : https://github.com/prajwol/Birthday-Reminder in which they have used old facebook-android-sdk, but now they are pointing to Facebook android SDK 3.0 which is latest because this sample app has made 2years ago and now i want to use this app but i don't know which was the old facebook SDK and where can i get that one, or if i wish to make this program runnable with updated facebook sdk which is 3.0 so what i need to do to make this app work able for me.

我收到相关的几个错误的进口com.facebook无法解析

I am getting several errors related to The import com.facebook cannot be resolved

如果我使用有组织的进口则它将删除与Facebook的进口,但它不是我期待的事情,因为我知道进口是正确的,但他们指出,新的Facebook - 机器人 - SDK 3.0,而应用做出了在旧2年前,它支持旧的SDK,所以毫无疑问,Facebook的Andr​​oid的SDK兼容性问题在这里创造一个问题

If i use organised imports then it will delete imports related to facebook, but it is not the thing i am looking to, because i know imports are right but they have pointed to new facebook - android - sdk 3.0 whereas app has made on old one 2 years ago and it supports old sdk, so there is no doubt facebook-android-sdk compatibility issue creating a problem here

推荐答案

您似乎已经解决了自己的问题。获取新的SDK和解决问题。如果项目不符合新的SDK兼容,那么你就必须找到不兼容的部分并修改它们是兼容的。

You seem to have solved your own problem. Get the new SDK and resolve the issues. If the project is not compatible with new SDK, then you'll have to find the parts that are incompatible and modify them to be compatible.

如果这是太硬/不值得,然后删除示例应用程序,去发现,使用较新的SDK工作的样本。

If this is too hard/not worth it, then drop the sample app and go find a sample that works with the newer SDK.

这篇关于Facebook的Andr​​oid的SDK兼容性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆