1 Reply Latest reply on Aug 17, 2017 5:29 PM by erick41218978

    Anyone else having problems with facebookads-plugin?

    erick41218978 Level 1

      Currently trying to get Facebook Audience plugin to install but builds keep failing for Android. Any help would be helpful.

      GitHub - floatinghotpot/cordova-plugin-facebookads: Cordova/PhoneGap plugin for Facebook Audience Network Ads

      Log files below:

      Build Date: 2017-08-07 23:07:19 +0000

      Subproject Path: CordovaLib

      Configuration on demand is an incubating feature.

      Incremental java compilation is an incubating feature.

      :preBuild UP-TO-DATE

      :preReleaseBuild UP-TO-DATE

      :checkReleaseManifest

      :preDebugBuild UP-TO-DATE

      :CordovaLib:preBuild UP-TO-DATE

      :CordovaLib:preDebugBuild UP-TO-DATE

      :CordovaLib:checkDebugManifest

      :CordovaLib:prepareDebugDependencies

      :CordovaLib:compileDebugAidl

      :CordovaLib:compileDebugNdk UP-TO-DATE

      :CordovaLib:compileLint

      :CordovaLib:copyDebugLint UP-TO-DATE

      :CordovaLib:mergeDebugShaders

      :CordovaLib:compileDebugShaders

      :CordovaLib:generateDebugAssets

      :CordovaLib:mergeDebugAssets

      :CordovaLib:mergeDebugProguardFiles

      :CordovaLib:packageDebugRenderscript UP-TO-DATE

      :CordovaLib:compileDebugRenderscript

      :CordovaLib:generateDebugResValues

      :CordovaLib:generateDebugResources

      :CordovaLib:packageDebugResources

      :CordovaLib:processDebugManifest

      :CordovaLib:generateDebugBuildConfig

      :CordovaLib:processDebugResources

      :CordovaLib:generateDebugSources

      :CordovaLib:incrementalDebugJavaCompilationSafeguard

      :CordovaLib:compileDebugJavaWithJavac

      :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      :CordovaLib:processDebugJavaRes UP-TO-DATE

      :CordovaLib:transformResourcesWithMergeJavaResForDebug

      :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug

      :CordovaLib:mergeDebugJniLibFolders

      :CordovaLib:transformNative_libsWithMergeJniLibsForDebug

      :CordovaLib:transformNative_libsWithSyncJniLibsForDebug

      :CordovaLib:bundleDebug

      :CordovaLib:preReleaseBuild UP-TO-DATE

      :CordovaLib:checkReleaseManifest

      :CordovaLib:prepareReleaseDependencies

      :CordovaLib:compileReleaseAidl

      :CordovaLib:compileReleaseNdk UP-TO-DATE

      :CordovaLib:copyReleaseLint UP-TO-DATE

      :CordovaLib:mergeReleaseShaders

      :CordovaLib:compileReleaseShaders

      :CordovaLib:generateReleaseAssets

      :CordovaLib:mergeReleaseAssets

      :CordovaLib:mergeReleaseProguardFiles

      :CordovaLib:packageReleaseRenderscript UP-TO-DATE

      :CordovaLib:compileReleaseRenderscript

      :CordovaLib:generateReleaseResValues

      :CordovaLib:generateReleaseResources

      :CordovaLib:packageReleaseResources

      :CordovaLib:processReleaseManifest

      :CordovaLib:generateReleaseBuildConfig

      :CordovaLib:processReleaseResources

      :CordovaLib:generateReleaseSources

      :CordovaLib:incrementalReleaseJavaCompilationSafeguard

      :CordovaLib:compileReleaseJavaWithJavac

      :CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      :CordovaLib:processReleaseJavaRes UP-TO-DATE

      :CordovaLib:transformResourcesWithMergeJavaResForRelease

      :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease

      :CordovaLib:mergeReleaseJniLibFolders

      :CordovaLib:transformNative_libsWithMergeJniLibsForRelease

      :CordovaLib:transformNative_libsWithSyncJniLibsForRelease

      :CordovaLib:bundleRelease

      :prepareComAndroidSupportAnimatedVectorDrawable2531Library

      :prepareComAndroidSupportAppcompatV72531Library

      :prepareComAndroidSupportCardviewV72531Library

      :prepareComAndroidSupportCustomtabs2531Library

      :prepareComAndroidSupportRecyclerviewV72531Library

      :prepareComAndroidSupportSupportCompat2600Alpha1Library

      :prepareComAndroidSupportSupportCoreUi2600Alpha1Library

      :prepareComAndroidSupportSupportCoreUtils2600Alpha1Library

      :prepareComAndroidSupportSupportFragment2600Alpha1Library

      :prepareComAndroidSupportSupportMediaCompat2600Alpha1Library

      :prepareComAndroidSupportSupportV132340Library

      :prepareComAndroidSupportSupportV42600Alpha1Library

      :prepareComAndroidSupportSupportVectorDrawable2531Library

      :prepareComFacebookAndroidAudienceNetworkSdk4250Library

      :prepareComFacebookAndroidFacebookAndroidSdk4250Library

      :prepareComGoogleAndroidExoplayerExoplayerR203Library

      :prepareComGoogleAndroidGmsPlayServicesAds1102Library

      :prepareComGoogleAndroidGmsPlayServicesAdsLite1102Library

      :prepareComGoogleAndroidGmsPlayServicesAnalytics1102Library

      :prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl1102Library

      :prepareComGoogleAndroidGmsPlayServicesBase1102Library

      :prepareComGoogleAndroidGmsPlayServicesBasement1102Library

      :prepareComGoogleAndroidGmsPlayServicesClearcut1102Library

      :prepareComGoogleAndroidGmsPlayServicesGass1102Library

      :prepareComGoogleAndroidGmsPlayServicesGcm1102Library

      :prepareComGoogleAndroidGmsPlayServicesIid1102Library

      :prepareComGoogleAndroidGmsPlayServicesSafetynet1102Library

      :prepareComGoogleAndroidGmsPlayServicesTagmanagerV4Impl1102Library

      :prepareComGoogleAndroidGmsPlayServicesTasks1102Library

      :prepareMeLeolinShortcutBadger1114Library

      :prepareProjectCordovaLibUnspecifiedReleaseLibrary

      :prepareReleaseDependencies

      :compileReleaseAidl

      :compileReleaseRenderscript

      :generateReleaseBuildConfig

      :generateReleaseResValues

      :generateReleaseResources

      :mergeReleaseResources

      :processReleaseManifest/project/AndroidManifest.xml:27:9-38 Error:

      Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38

      is also present at [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 value=(25.3.1).

      Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:41 to override.

       

       

      See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

       

      :processReleaseManifest FAILED

       

      FAILURE: Build failed with an exception.

       

      * What went wrong:

      Execution failed for task ':processReleaseManifest'.

      > Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38

        is also present at [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 value=(25.3.1).

        Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:41 to override.

       

      * 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: 5.203 secs

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

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      /project/AndroidManifest.xml:27:9-38 Error:

      Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38

      is also present at [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 value=(25.3.1).

      Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:41 to override.

       

      FAILURE: Build failed with an exception.

       

      * What went wrong:

      Execution failed for task ':processReleaseManifest'.

      > Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38

        is also present at [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 value=(25.3.1).

        Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:41 to override.

       

      * 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)