加入后的PhoneGap,Facebook的插件到我的科尔多瓦项目,并建立了机器人项目时,出现错误:
无法评估模块FacebookLib:名为“调试”配置未找到
我的Android项目结构如下所示:
android
--> CordovaLib
--> build.gradle
--> phonegap-facebook-plugin
--> chooze-FacebookLib
--> build.gradle
--> build.gradle
--> settings.gradle
根build.gradle
文件包含此:
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
debugCompile(project(path: "CordovaLib", configuration: "debug"))
releaseCompile(project(path: "CordovaLib", configuration: "release"))
debugCompile(project(path: "phonegap-facebook-plugin:FacebookLib", configuration: "debug"))
releaseCompile(project(path: "phonegap-facebook-plugin:FacebookLib", configuration: "release"))
// SUB-PROJECT DEPENDENCIES END
}
和settings.gradle
:
// GENERATED FILE - DO NOT EDIT
include ":"
include ":CordovaLib"
include ":phonegap-facebook-plugin:FacebookLib"
project(":phonegap-facebook-plugin:FacebookLib").projectDir = new File("phonegap-facebook-plugin/chooze-FacebookLib")
我似乎没有发现,将解决这个问题的任何解决方案。 我会很感激的任何建议。 谢谢!