Question

I am trying to learn Facebook integration to Android Apps. In the process, I followed the tutorial as explained here. I have a little knowledge on Android, but nothing on integrating Facebook to apps.

I have my Android Workspace in a different path (not the same as my Android SDK), in my Windows computer. I have added the Facebook SDK library to my workspace, and loaded a few sample examples from there - as explained in the above tutorial.

Everytime I try to build and run any of the Facebook samples, I get into the problem 'your project Contains error(s), please fix them before running your application'.

When I goto my Problems View, I can see 1 error -> 'Error generating final archive : {Workspace-Location}\libs does not exist'.

I went through a few related questions on this, and I have tried the following :

  • Clean the project & rebuild
  • Remove Automatic Building, and close eclipse, then restart, then clean, build & run
  • go to .debug folder(under C:/USER/.android/), remove the debug.keystore, to generate new key
  • ensure in android properties, the uncheck on 'is library' is obeyed.

All of the above has not helped me. I am stuck for more than a day, and internet search is not helping me.

I would be happy if someone can help me here.

Was it helpful?

Solution

delete the libs folder solve this problem for me

you could add libs folder back as below:

add libs folder back by Android Tools

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top