Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
702 views
in Technique[技术] by (71.8m points)

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.

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.8k users

...