简体   繁体   English

facebook-android-sdk兼容性问题

[英]facebook-android-sdk compatibility issue

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. 我正在使用此示例应用程序: https : //github.com/prajwol/Birthday-Reminder ,其中他们使用了旧的facebook-android-sdk ,但现在他们指向的是最新的Facebook android SDK 3.0,因为此示例应用程序具有做2年以前,现在我想使用这个应用程序,但是我不知道哪个是旧的Facebook SDK,我在哪里可以得到那个,或者我是否想使此程序与更新的Facebook SDK一起运行,即3.0,所以我需要做的让这个应用对我有用。

I am getting several errors related to The import com.facebook cannot be resolved 我收到一些与导入com.facebook无法解决的错误有关的信息

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 如果我使用有组织的导入,则它将删除与Facebook相关的导入,但这不是我想要的,因为我知道导入是正确的,但它们已指向新的facebook-android-sdk 3.0,而该应用程序是在旧版本上制作的2年前,它支持旧的sdk,因此毫无疑问,facebook-android-sdk兼容性问题在这里造成了问题

You seem to have solved your own problem. 您似乎已经解决了自己的问题。 Get the new SDK and resolve the issues. 获取新的SDK并解决问题。 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. 如果这样做太难/不值得,请放下示例应用程序,然后找到与较新的SDK兼容的示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM