1 Reply Latest reply on Jul 5, 2017 12:12 PM by kerrishotts

    i can not get to build

    stamk19118890

      App ID

      842985

       

      it worked just fine few weeks ago, today i entered the pass again, and then i got this error in compilation. i need some help.

       

      ------------------------------------------------------------------------------------------ ---

       

      Build Date: 2017-07-04 15:27:06 +0000

      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:compileDebugNdk UP-TO-DATE

      :CordovaLib:compileLint

      :CordovaLib:copyDebugLint UP-TO-DATE

      :CordovaLib:mergeDebugProguardFiles

      :CordovaLib:packageDebugRenderscript UP-TO-DATE

      :CordovaLib:checkDebugManifest

      :CordovaLib:prepareDebugDependencies

      :CordovaLib:compileDebugRenderscript

      :CordovaLib:generateDebugResValues

      :CordovaLib:generateDebugResources

      :CordovaLib:packageDebugResources

      :CordovaLib:compileDebugAidl

      :CordovaLib:generateDebugBuildConfig

      :CordovaLib:mergeDebugShaders

      :CordovaLib:compileDebugShaders

      :CordovaLib:generateDebugAssets

      :CordovaLib:mergeDebugAssets

      :CordovaLib:processDebugManifest

      :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:compileReleaseNdk UP-TO-DATE

      :CordovaLib:copyReleaseLint UP-TO-DATE

      :CordovaLib:mergeReleaseProguardFiles

      :CordovaLib:packageReleaseRenderscript UP-TO-DATE

      :CordovaLib:checkReleaseManifest

      :CordovaLib:prepareReleaseDependencies

      :CordovaLib:compileReleaseRenderscript

      :CordovaLib:generateReleaseResValues

      :CordovaLib:generateReleaseResources

      :CordovaLib:packageReleaseResources

      :CordovaLib:compileReleaseAidl

      :CordovaLib:generateReleaseBuildConfig

      :CordovaLib:mergeReleaseShaders

      :CordovaLib:compileReleaseShaders

      :CordovaLib:generateReleaseAssets

      :CordovaLib:mergeReleaseAssets

      :CordovaLib:processReleaseManifest

      :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

      :prepareComAndroidSupportSupportCompat2520Library

      :prepareComAndroidSupportSupportCoreUi2520Library

      :prepareComAndroidSupportSupportCoreUtils2520Library

      :prepareComAndroidSupportSupportFragment2520Library

      :prepareComAndroidSupportSupportMediaCompat2520Library

      :prepareComAndroidSupportSupportV42520Library

      :prepareComGoogleAndroidGmsPlayServicesBase1100Library

      :prepareComGoogleAndroidGmsPlayServicesBasement1100Library

      :prepareComGoogleAndroidGmsPlayServicesGcm1100Library

      :prepareComGoogleAndroidGmsPlayServicesIid1100Library

      :prepareComGoogleAndroidGmsPlayServicesTasks1100Library

      :prepareComPushbotsPushbotsLib302Beta3Library

      :prepareProjectCordovaLibUnspecifiedReleaseLibrary

      :prepareReleaseDependencies

      :compileReleaseAidl

      :compileReleaseRenderscript

      :generateReleaseBuildConfig

      :mergeReleaseShaders

      :compileReleaseShaders

      :generateReleaseAssets

      :mergeReleaseAssets

      :generateReleaseResValues

      :generateReleaseResources

      :mergeReleaseResources

      :processReleaseManifest

      :processReleaseResources

      :generateReleaseSources

      :incrementalReleaseJavaCompilationSafeguard

      :compileReleaseJavaWithJavac

      :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.

      :compileReleaseNdk UP-TO-DATE

      :compileReleaseSources

      :prePackageMarkerForRelease

      :transformClassesWithDexForRelease

      Merged dex #1 (86 defs/108.4KiB)

      Merged dex #2 (691 defs/606.0KiB)

      Merged dex #3 (138 defs/248.9KiB)

      Merged dex #4 (70 defs/100.0KiB)

      Merged dex #5 (74 defs/180.4KiB)

      Merged dex #6 (221 defs/221.8KiB)

      Merged dex #7 (1 defs/0.7KiB)

      Merged dex #8 (307 defs/273.6KiB)

      Merged dex #9 (323 defs/248.1KiB)

      Merged dex #10 (25 defs/41.0KiB)

      Merged dex #11 (7 defs/21.6KiB)

      Merged dex #12 (44 defs/30.3KiB)

      Merged dex #13 (36 defs/51.0KiB)

      Merged dex #14 (201 defs/320.4KiB)

      Merged dex #15 (43 defs/82.7KiB)

      Merged dex #16 (84 defs/102.4KiB)

      Merged dex #17 (47 defs/8.8KiB)

      Result is 2398 defs/3163.1KiB. Took 0.1s

      :mergeReleaseJniLibFolders

      :transformNative_libsWithMergeJniLibsForRelease

      :processReleaseJavaRes UP-TO-DATE

      :transformResourcesWithMergeJavaResForRelease FAILED

       

      FAILURE: Build failed with an exception.

       

      * What went wrong:

      Execution failed for task ':transformResourcesWithMergeJavaResForRelease'.

      > com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/maven/com.squareup.okio/okio/pom.xml

        File1: /gradle-home/caches/modules-2/files-2.1/com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d 25aff02a6ab7e45d06cbe/okio-1.13.0.jar

        File2: /project/build/intermediates/exploded-aar/com.google.android.gms/play-services-basement/1 1.0.0/jars/classes.jar

       

       

      * 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: 4.617 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.

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

      Note: Recompile with -Xlint:deprecation for details.

       

      FAILURE: Build failed with an exception.

       

      * What went wrong:

      Execution failed for task ':transformResourcesWithMergeJavaResForRelease'.

      > com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/maven/com.squareup.okio/okio/pom.xml

        File1: /gradle-home/caches/modules-2/files-2.1/com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d 25aff02a6ab7e45d06cbe/okio-1.13.0.jar

        File2: /project/build/intermediates/exploded-aar/com.google.android.gms/play-services-basement/1 1.0.0/jars/classes.jar

       

       

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

        • 1. Re: i can not get to build
          kerrishotts Adobe Community Professional

          It sounds like you've got two plugins that are colliding. Look for anything google related & squareup related and take one of those out to see if the build works then. (Your app probably won't, but you can address that after determining which plugin is causing the build itself to fail.)