Apache Cordova Facebook Plugin BUILD FAILED

℡╲_俬逩灬. 提交于 2019-12-10 20:26:45

问题


I am trying to install the facebook cordova plugin using the cordova CLI but unfortunately, whatever I do, I get BUILD FAILED whenever I try to cordova build android.

This is what I am using to install the plugin

cordova plugin add https://github.com/phonegap/phonegap-facebook-plugin --variable APP_ID="my_facebook_app_id" --variable APP_NAME="my_facebook_app_name"

Of course, I use my real facebook App_ID and App_Name. I also put them in plugin.xml everywhere there is APP_NAME or APP_ID. I don't know how to get older cmd error logs, because the only errors I see when the buld fails are error occuring because of a previous error. I tried cordova build android -d but it didn't help at all.

I don't know if it has something to do with my cordova version or with the fact that I already have other plugins and have developed quite a lot and my app is no longer as empty as the example one.

Cordova version: 3.5.0-0.2.6

P.S.: Just tried it on a new cordova build of my version, same error. I wonder how everybody else is not getting any, obviously the error is in me or the cordova version ;(

来源:https://stackoverflow.com/questions/25205456/apache-cordova-facebook-plugin-build-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!