Error trying to build for Android with Facebook plugin

This is my first time trying to build with a plugin and I’m not sure what I’m doing. I keep getting the following error:

A device build error occurred on the server.

BuildID: 54483c158d4dd
Error: Get plugin failed.
Publisher: com.coronalabs
Plugin: facebook

This is my build.settings file

settings = { iphone = { plist = { UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = true, UIStatusBarHidden = true, CFBundleIconFiles = { }, UIAppFonts = { "cheeseusaceu.ttf" }, } }, android = { usesPermissions = { "android.permission.INTERNET", }, }, plugins = { ["facebook"] = { publisherId = "com.coronalabs" }, }, }

I’m using Corona build 2014.2393.

Can anybody tell me what’s going wrong? Thanks!

Well, this is weird. If I delete the whole plugins section in my build.settings, build the app for Android, and then install it on my device, the facebook login functionality works. Shouldn’t I get an error or something because I don’t have the plugins section in build.settings?

I’m so confused…

P.S. I still get the build error if I leave the plugin section in.

The forums say you are a Starter.  That means that at best you are using build 2393.  That build, Facebook is still built into the core for Android and is only a plugin for iOS until build 2430.

Rob

That makes a lot more sense. Looking back in the docs I don’t know how I missed that!

I have one follow up question – for an app targeting iOS and Android, when I upgrade to Corona Pro (and get the latest build) I will not need to include the following line in build.settings, correct?

supportedPlatforms = { iphone=true, [“iphone-sim”]=true }

When you move to version where Facebook is a plugin for Android, you will not need the supportedPlatforms line any more.

Rob

Well, this is weird. If I delete the whole plugins section in my build.settings, build the app for Android, and then install it on my device, the facebook login functionality works. Shouldn’t I get an error or something because I don’t have the plugins section in build.settings?

I’m so confused…

P.S. I still get the build error if I leave the plugin section in.

The forums say you are a Starter.  That means that at best you are using build 2393.  That build, Facebook is still built into the core for Android and is only a plugin for iOS until build 2430.

Rob

That makes a lot more sense. Looking back in the docs I don’t know how I missed that!

I have one follow up question – for an app targeting iOS and Android, when I upgrade to Corona Pro (and get the latest build) I will not need to include the following line in build.settings, correct?

supportedPlatforms = { iphone=true, [“iphone-sim”]=true }

When you move to version where Facebook is a plugin for Android, you will not need the supportedPlatforms line any more.

Rob