Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook integration in android?

Hi Am trying to Integrate Facebook in my application so for that i was guided from Integration guide

But i got error in step 3,When am importing,console showing some errors like

[2013-03-08 10:16:07 - MessagesTask] Unable to resolve target 'android-8'
[2013-03-08 10:17:00 - MessagesTask] Unable to resolve target 'android-8'
[2013-03-08 15:57:54 - ProfilePictureSample] Unable to resolve target 'android-8'
[2013-03-08 15:57:54 - BooleanOGSample] Unable to resolve target 'android-8'
[2013-03-08 15:57:54 - Hackbook] Unable to resolve target 'android-8'
[2013-03-08 15:57:55 - GraphApiSample] Unable to resolve target 'android-8'
[2013-03-08 15:57:55 - Scrumptious] Unable to resolve target 'android-8'
[2013-03-08 15:57:55 - PlacePickerSample] Unable to resolve target 'android-8'
[2013-03-08 15:57:55 - SessionLoginSample] Unable to resolve target 'android-8'
[2013-03-08 15:57:55 - FriendPickerSample] Unable to resolve target 'android-8'
[2013-03-08 15:57:55 - HelloFacebookSample] Unable to resolve target 'android-8'
[2013-03-08 15:57:55 - FacebookSDK] Unable to resolve target 'android-8'
[2013-03-08 15:57:56 - SwitchUserSample] Unable to resolve target 'android-8'
[2013-03-08 15:58:05 - ProfilePictureSample] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\ProfilePictureSample\bin\jarlist.cache
[2013-03-08 15:58:07 - FacebookSDK] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - ProfilePictureSample] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - BooleanOGSample] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - Hackbook] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - GraphApiSample] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - Scrumptious] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - PlacePickerSample] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - SessionLoginSample] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - FriendPickerSample] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - HelloFacebookSample] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - SwitchUserSample] Unable to resolve target 'android-8'
[2013-03-08 15:58:07 - FacebookSDK] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\facebook\bin\jarlist.cache
[2013-03-08 15:58:07 - ProfilePictureSample] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\ProfilePictureSample\bin\jarlist.cache
[2013-03-08 15:58:07 - BooleanOGSample] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\BooleanOGSample\bin\jarlist.cache
[2013-03-08 15:58:07 - Hackbook] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\Hackbook\bin\jarlist.cache
[2013-03-08 15:58:07 - GraphApiSample] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\GraphApiSample\bin\jarlist.cache
[2013-03-08 15:58:07 - Scrumptious] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\Scrumptious\bin\jarlist.cache
[2013-03-08 15:58:07 - PlacePickerSample] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\PlacePickerSample\bin\jarlist.cache
[2013-03-08 15:58:07 - SessionLoginSample] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\SessionLoginSample\bin\jarlist.cache
[2013-03-08 15:58:07 - FriendPickerSample] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\FriendPickerSample\bin\jarlist.cache
[2013-03-08 15:58:07 - HelloFacebookSample] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\HelloFacebookSample\bin\jarlist.cache
[2013-03-08 15:58:07 - SwitchUserSample] WARNING: unable to write jarlist cache file C:\Users\gtm\facebook-android-sdk-3.0\samples\SwitchUserSample\bin\jarlist.cache

So Could you please help me out from this problem?

like image 395
Gowtham Kumar Avatar asked Mar 08 '13 10:03

Gowtham Kumar


2 Answers

that's because you don't have API level 8 in your SDK. Right click on the project then go to Properties > Android & select another available API

like image 62
sha256 Avatar answered Nov 18 '22 23:11

sha256


Open Android SDK Manager and install Android 2.2 (API 8)

like image 40
Gal Bracha Avatar answered Nov 19 '22 00:11

Gal Bracha