3 Replies Latest reply on Jun 17, 2017 8:34 PM by Gabit_Zhake

    pgb-facebook-connect giving build error

    shaunthomson1

      Hi

       

      Since the npm became the source for plugins, I can't get Facebook Connect to compile - I keep getting build errors on the plugins I try.

       

      The latest one I tried is pgb-facebook-connect:

       

      <plugin name="pgb-facebook-connect" source="npm" >

        <param name="APP_ID" value="XXXXXXXX" />

        <param name="APP_NAME" value="XXXXXXXX" />

      </plugin>

       

      The error is:

       

      Error - The following 3rd-party plugin is causing the build to fail and may need to be updated to a newer version: com.phonegap.plugins.facebookconnect

       

      Can Facebook Login still be used in PGB? If so, which plugin should we be using?

       

      Thanks for your time and help.

       

      My app is is: 1034259

        • 1. Re: pgb-facebook-connect giving build error
          Gabit_Zhake Level 1

          I also have an error:

          Build Date: 2017-06-15 11:59:05 +0000

          Subproject Path: CordovaLib

          Subproject Path: phonegap-facebook-plugin/topksk-FacebookLib

          Configuration on demand is an incubating feature.

          Incremental java compilation is an incubating feature.

          Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.

          java.lang.IllegalStateException: buildToolsVersion is not specified.

          at com.google.common.base.Preconditions.checkState(Preconditions.java:173)

          at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:645)

          at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)

          at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)

          at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDis patch.java:93)

          at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDis patch.java:82)

          at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.ja va:44)

          at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)

          at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)

          at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(Pro xyDispatchAdapter.java:93)

          at com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)

          at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleP rojectEvaluator.java:67)

          at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvalu ator.java:61)

          at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)

          at org.gradle.api.internal.project.AbstractProject.evaluationDependsOn(AbstractProject.java: 612)

          at org.gradle.api.internal.project.AbstractProject.evaluationDependsOn(AbstractProject.java: 604)

          at com.android.build.gradle.internal.DependencyManager.ensureConfigured(DependencyManager.ja va:488)

          at com.android.build.gradle.internal.DependencyManager.resolveDependencyForConfig(Dependency Manager.java:267)

          at com.android.build.gradle.internal.DependencyManager.resolveDependencies(DependencyManager .java:159)

          at com.android.build.gradle.internal.TaskManager.resolveDependencies(TaskManager.java:364)

          at com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:636)

          at com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:633)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:44)

          at com.android.build.gradle.internal.VariantManager.createVariantData(VariantManager.java:62 9)

          at com.android.build.gradle.internal.VariantManager.createVariantDataForProductFlavors(Varia ntManager.java:823)

          at com.android.build.gradle.internal.VariantManager.populateVariantDataList(VariantManager.j ava:494)

          at com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:269)

          at com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:266)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:2 65)

          at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:688)

          at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:685)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)

          at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)

          at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)

          at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDis patch.java:93)

          at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDis patch.java:82)

          at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.ja va:44)

          at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)

          at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)

          at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(Pro xyDispatchAdapter.java:93)

          at com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)

          at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleP rojectEvaluator.java:67)

          at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvalu ator.java:61)

          at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)

          at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)

          at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)

          at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:33)

          at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)

          at org.gradle.internal.Factories$1.create(Factories.java:22)

          at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecu tor.java:91)

          at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecu tor.java:53)

          at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java: 121)

          at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)

          at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)

          at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)

          at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecu tor.java:91)

          at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecu tor.java:63)

          at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)

          at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)

          at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProces sBuildActionExecuter.java:99)

          at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunne r.java:28)

          at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)

          at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecute r.java:48)

          at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecute r.java:30)

          at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecu ter.java:81)

          at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecu ter.java:46)

          at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)

          at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnectio n.java:37)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLog ger.java:26)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopI fSingleUsedDaemon.java:34)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java: 74)

          at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java: 72)

          at org.gradle.util.Swapper.swap(Swapper.java:38)

          at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java :72)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker. java:47)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)

          at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEn vironment.java:72)

          at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:4 1)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrResp ondWithBusy.java:50)

          at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.jav a:237)

          at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPo licy.java:54)

          at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

          at java.lang.Thread.run(Thread.java:745)

           

          FAILURE: Build failed with an exception.

           

          * Where:

          Build file '/project/phonegap-facebook-plugin/topksk-FacebookLib/build.gradle' line: 15

           

          * What went wrong:

          A problem occurred evaluating project ':phonegap-facebook-plugin:FacebookLib'.

          > Could not get unknown property 'ANDROID_BUILD_SDK_VERSION' for project ':phonegap-facebook-plugin:FacebookLib' of type org.gradle.api.Project.

           

          * Try:

          Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

           

          BUILD FAILED

           

          Total time: 2.346 secs

          Error: /project/gradlew: Command failed with exit code 1 Error output:

          Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.

          java.lang.IllegalStateException: buildToolsVersion is not specified.

          at com.google.common.base.Preconditions.checkState(Preconditions.java:173)

          at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:645)

          at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)

          at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)

          at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDis patch.java:93)

          at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDis patch.java:82)

          at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.ja va:44)

          at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)

          at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)

          at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(Pro xyDispatchAdapter.java:93)

          at com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)

          at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleP rojectEvaluator.java:67)

          at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvalu ator.java:61)

          at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)

          at org.gradle.api.internal.project.AbstractProject.evaluationDependsOn(AbstractProject.java: 612)

          at org.gradle.api.internal.project.AbstractProject.evaluationDependsOn(AbstractProject.java: 604)

          at com.android.build.gradle.internal.DependencyManager.ensureConfigured(DependencyManager.ja va:488)

          at com.android.build.gradle.internal.DependencyManager.resolveDependencyForConfig(Dependency Manager.java:267)

          at com.android.build.gradle.internal.DependencyManager.resolveDependencies(DependencyManager .java:159)

          at com.android.build.gradle.internal.TaskManager.resolveDependencies(TaskManager.java:364)

          at com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:636)

          at com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:633)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:44)

          at com.android.build.gradle.internal.VariantManager.createVariantData(VariantManager.java:62 9)

          at com.android.build.gradle.internal.VariantManager.createVariantDataForProductFlavors(Varia ntManager.java:823)

          at com.android.build.gradle.internal.VariantManager.populateVariantDataList(VariantManager.j ava:494)

          at com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:269)

          at com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:266)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:2 65)

          at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:688)

          at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:685)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)

          at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)

          at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)

          at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

          at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)

          at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDis patch.java:93)

          at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDis patch.java:82)

          at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.ja va:44)

          at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)

          at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)

          at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(Pro xyDispatchAdapter.java:93)

          at com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)

          at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleP rojectEvaluator.java:67)

          at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvalu ator.java:61)

          at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)

          at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)

          at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)

          at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:33)

          at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)

          at org.gradle.internal.Factories$1.create(Factories.java:22)

          at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecu tor.java:91)

          at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecu tor.java:53)

          at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java: 121)

          at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)

          at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)

          at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)

          at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecu tor.java:91)

          at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecu tor.java:63)

          at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)

          at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)

          at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProces sBuildActionExecuter.java:99)

          at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunne r.java:28)

          at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)

          at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecute r.java:48)

          at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecute r.java:30)

          at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecu ter.java:81)

          at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecu ter.java:46)

          at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)

          at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnectio n.java:37)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLog ger.java:26)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopI fSingleUsedDaemon.java:34)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java: 74)

          at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java: 72)

          at org.gradle.util.Swapper.swap(Swapper.java:38)

          at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java :72)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker. java:47)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)

          at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEn vironment.java:72)

          at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:4 1)

          at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecuti on.java:120)

          at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrResp ondWithBusy.java:50)

          at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.jav a:237)

          at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPo licy.java:54)

          at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

          at java.lang.Thread.run(Thread.java:745)

           

          FAILURE: Build failed with an exception.

           

          * Where:

          Build file '/project/phonegap-facebook-plugin/topksk-FacebookLib/build.gradle' line: 15

           

          * What went wrong:

          A problem occurred evaluating project ':phonegap-facebook-plugin:FacebookLib'.

          > Could not get unknown property 'ANDROID_BUILD_SDK_VERSION' for project ':phonegap-facebook-plugin:FacebookLib' of type org.gradle.api.Project.

           

          * Try:

          Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

            at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)

            at emitTwo (events.js:106:13)

            at ChildProcess.emit (events.js:191:7)

            at maybeClose (internal/child_process.js:877:16)

            at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

          • 2. Re: pgb-facebook-connect giving build error
            vangroover Adobe Employee

            this error occurs even on a local xcode build, so it's definitely an issue with the plugin (at least the latest version 0.11 that is)

            • 3. Re: pgb-facebook-connect giving build error
              Gabit_Zhake Level 1

              I added the following in the config:

              <plugin name="pgb-facebook-connect" source="npm" >

                <param name="APP_ID" value="XXXXXXXX" />

                <param name="APP_NAME" value="XXXXXXXX" />

              </plugin>


              Xcode do not use.