我正在尝试使用ionic cordova plugin add command cordova-plugin-facebook4 - variable APP_ID =" 092809180912829 "--various APP_NAME =" test "
But whenever I install the plugin and use
ionic cordova build android在我的应用程序中添加插件:cordova-plugin-facebook4。
我收到:
[ERROR] An error occurred while running subprocess cordova.
但是,如果我删除插件,则可以完美地构建并运行android。
我正在使用离子型4.3.0 / Cordova CLI 7.0.0 / Cordova平台:7.0.0
谁能告诉我这可能是什么?我在Internet上找到了很多东西,但是没有一种解决方案对我有用,我也不知道它能做什么。谢谢
答案 0 :(得分:0)
您可以安装离子型原生Facebook包装器。
上的说明进行操作npm install @ ionic-native / facebook @ beta