0
我整合了Phonegap-facebook插件,成功解析DB作爲後端。但是,當我加入Android平臺,我得到這個錯誤:Phonegap-facebook插件問題
Failed to install 'com.phonegap.plugins.facebookconnect':Error: Variable(s) missing: APP_ID, APP_NAME
at /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:304:23
at _fulfilled (/usr/lib/node_modules/cordova/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/lib/node_modules/cordova/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/cordova/node_modules/q/q.js:749:13)
at /usr/lib/node_modules/cordova/node_modules/q/q.js:557:44
at flush (/usr/lib/node_modules/cordova/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:419:13)
Error: Variable(s) missing: APP_ID, APP_NAME
at /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:304:23
at _fulfilled (/usr/lib/node_modules/cordova/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/lib/node_modules/cordova/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/cordova/node_modules/q/q.js:749:13)
at /usr/lib/node_modules/cordova/node_modules/q/q.js:557:44
at flush (/usr/lib/node_modules/cordova/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:419:13)
我已經添加了Facebook應用程序的ID和祕密js文件,它被記錄在成功舉辦本地主機,即在網頁版。我該如何解決這個錯誤?