This is a migrated thread and some comments may be shown as answers.

Unable to build with facebook sdk on Cordova 3.6.4

2 Answers 39 Views
Google Android
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nima
Top achievements
Rank 1
Nima asked on 27 Jan 2015, 06:17 PM
I know 3.6.4 is experimental, but when building an app with the facebook sdk, facebook is unable to find the android sdk.

The build fails with this error:
com.phonegap.plugins.facebookconnect/FacebookLib/build.xml:46: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var

It works with no issues on v3.5.1

2 Answers, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 30 Jan 2015, 12:37 PM
Hello Nima,

Thank you for posting to the Telerik Developer Forums and for reporting this.

Indeed, I managed to reproduce the issue with the AppBuilder-compatible version of the plugin available in the forums. It is probably correlated to the build phase against the experimental version of Cordova available in AppBuilder. We will need some time to investigate the issue on our side. However, we cannot commit to a particular time-frame for the resolution.

I will update this thread when there is some progress on the matter.

Please, let me know if you have further questions.

Regards,
Anton Dobrev
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Anton Dobrev
Telerik team
answered on 06 Feb 2015, 03:02 PM
Hi,

Using the AppBuilder compatible version of the plugin you can now build it with AppBuilder against Cordova 3.6.4 without experiencing this error.

Let me know if you have questions.

Regards,
Anton Dobrev
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Google Android
Asked by
Nima
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or