Friday, September 9, 2011

Doing a production android build with the Facebook SDK

Hi there.

First post. Woot.

So I was just trying to build a release build of Mogwee the android app I work on, and I couldn't get it to build since we added the facebook sdk. If you're in a similar place, having trouble building your android app for production release after adding the facebook sdk, you need to add the following line to the default.properties file in your android project's root.

android.library.reference.1=<relative/path/to/facebook/sdk>

That's it. Then it builds just fine.

This is mostly for my own future sanity :)

No comments:

Post a Comment