Unable to evaluate FacebookLib module: No configuration named "debug" found

I get this error when I run the "corova build android" command. I have the following lines of code in my build.gradle file in the platform / android directory:

debugCompile(
    project(
        path: "phonegap-facebook-plugin:FacebookLib", 
        configuration: "debug"
    )
)
releaseCompile(
    project(
        path: "phonegap-facebook-plugin:FacebookLib", 
        configuration: "release"
    )
)

In the same directory, I have another file "settings.gradle", which has the following lines of code

include ":phonegap-facebook-plugin:FacebookLib"
project(":phonegap-facebook-plugin:FacebookLib").projectDir = new File("phonegap-facebook-plugin/app-FacebookLib")

Any help would be greatly appreciated. thank

+4
source share
1 answer

, . facebook ( ), , - "com.ionicframeword.appname123342" "com.appname.appname". Trick

cordova platforms rm android

cordova platforms add android

, .

+1

Source: https://habr.com/ru/post/1659795/


All Articles