Failed to write jarlist Facebook SDK file cache file on Android

I am trying to integrate facebook login in my android app. according to Facebook Help, I tried to implement while I import facebook sdk to overshadow the error shown below, without realizing what would happen.

even I installed Android Verion 2.2 (API 8). also do not use bot, show the same error.

My console errors

[2013-07-25 10:15:08 - ProfilePictureSample] WARNING: unable to write jarlist cache file /home/devendar/workspace/ProfilePictureSample/bin/jarlist.cache [2013-07-25 10:15:08 - BooleanOGSample] WARNING: unable to write jarlist cache file /home/devendar/workspace/BooleanOGSample/bin/jarlist.cache [2013-07-25 10:15:08 - GraphApiSample] WARNING: unable to write jarlist cache file /home/devendar/workspace/GraphApiSample/bin/jarlist.cache [2013-07-25 10:15:08 - Scrumptious] WARNING: unable to write jarlist cache file /home/devendar/workspace/Scrumptious/bin/jarlist.cache [2013-07-25 10:15:08 - PlacePickerSample] WARNING: unable to write jarlist cache file /home/devendar/workspace/PlacePickerSample/bin/jarlist.cache [2013-07-25 10:15:08 - SessionLoginSample] WARNING: unable to write jarlist cache file /home/devendar/workspace/SessionLoginSample/bin/jarlist.cache [2013-07-25 10:15:08 - FriendPickerSample] WARNING: unable to write jarlist cache file /home/devendar/workspace/FriendPickerSample/bin/jarlist.cache [2013-07-25 10:15:08 - HelloFacebookSample] WARNING: unable to write jarlist cache file /home/devendar/workspace/HelloFacebookSample/bin/jarlist.cache [2013-07-25 10:15:08 - SwitchUserSample] WARNING: unable to write jarlist cache file /home/devendar/workspace/SwitchUserSample/bin/jarlist.cache [2013-07-25 10:15:09 - FacebookSDK] WARNING: unable to write jarlist cache file /home/devendar/workspace/FacebookSDK/bin/jarlist.cache [2013-07-25 10:15:09 - FacebookSDK] WARNING: unable to write jarlist cache file /home/devendar/workspace/FacebookSDK/bin/jarlist.cache [2013-07-25 10:15:09 - FacebookSDK] WARNING: unable to write jarlist cache file /home/devendar/workspace/FacebookSDK/bin/jarlist.cache [2013-07-25 10:15:09 - FacebookSDK] WARNING: unable to write jarlist cache file /home/devendar/workspace/FacebookSDK/bin/jarlist.cache [2013-07-25 10:15:09 - Hackbook] WARNING: unable to write jarlist cache file /home/devendar/workspace/Hackbook/bin/jarlist.cache 
+4
source share
3 answers

sdk does not support API 8. Select a project, click Project> Properties> Android, and select a lower API. If the error persists, try Project> Properties> Clean.

0
source

Check file owner for each / workspace /% ComponentName% / bin /

If this belongs to someone, not you, try the "chown" terminal command and change the owner to yourself.

0
source

I ran into the same problem as you ... here's what I did:

I notice when I cloned facebook sdk from github to the "libs" folder and the files (bolts.jar and android-support-v4.jar) were missing. So I created a new folder called libs, and I copied the missing jars inside it.

To get the missing banks, I downloaded sdk from the facebook developers site https://developers.facebook.com/docs/android/

hope this helps

0
source

Source: https://habr.com/ru/post/1493350/


All Articles