Reputation: 544
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?
Upvotes: 7
Views: 7201
Reputation: 21
If API level 8 not installed, then install it using the Android SDK.
If already installed, right click on the project.. Properties>Android. Select the build path as Android 2.2 (API Level 8)
Upvotes: 2
Reputation: 18978
just add this in manifest
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" android:maxSdkVersion="17"/>
Upvotes: 0
Reputation: 3109
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
Upvotes: 20