0 Replies Latest reply on Dec 16, 2016 10:28 AM by olquinp

    processDebugResources FAILED phonegap

    olquinp

      Just trying to install an application that I would like to try out on my first Phonegap build. I noticed there was a discussion with a similar topic but tried all of the answers on there and still have yet to find a solution. I don't do this often, actually my first time but I would love everyone's help, I am a beginner lets take it easy on me please. 

       

       

      Build Date: 2016-12-16 17:54:24 +0000

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

      PLUGIN OUTPUT

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

      Installing "com.phonegap.plugins.hydration" at "5.0.1" for android

      Installing "cordova-plugin-network-information" at "1.0.1" for android

      Fetching plugin "cordova-plugin-whitelist" via npm

      Installing "cordova-plugin-whitelist" at "1.3.1" for android

       

       

                     This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.

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

      COMPILE OUTPUT

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

      Configuration on demand is an incubating feature.

      Incremental java compilation is an incubating feature.

      :preBuild UP-TO-DATE

      :preDebugBuild UP-TO-DATE

      :checkDebugManifest

      :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

      :prepareProjectCordovaLibUnspecifiedDebugLibrary

      :prepareDebugDependencies

      :compileDebugAidl

      :compileDebugRenderscript

      :generateDebugBuildConfig

      :mergeDebugShaders

      :compileDebugShaders

      :generateDebugAssets

      :mergeDebugAssets

      :generateDebugResValues

      :generateDebugResources

      :mergeDebugResources

      :processDebugManifest

      :processDebugResources FAILED

       

       

      FAILURE: Build failed with an exception.

       

       

      * What went wrong:

      Execution failed for task ':processDebugResources'.

      > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/android-sdk/build-tools/24.0.1/aapt'' finished with non-zero exit value 1

       

       

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

       

       

      FAILURE: Build failed with an exception.

       

       

      * What went wrong:

      Execution failed for task ':processDebugResources'.

      > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/android-sdk/build-tools/24.0.1/aapt'' finished with non-zero exit value 1

       

       

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

       

       

      And here is my config.xml:

      <?xml version="1.0" encoding="UTF-8"?>

      <widget xmlns       = "http://www.w3.org/ns/widgets"

              xmlns:gap   = "http://phonegap.com/ns/1.0"

              id          = "org.coenraets.employeedirectory"

              versionCode = "10"

              version     = "1.1.0">

       

          <name>Employee Directory</name>

       

          <description>

              A simple employee directory application

          </description>

       

          <author href="">

            

          </author>

       

          <feature name="http://api.phonegap.com/1.0/camera"/>

          <feature name="http://api.phonegap.com/1.0/contacts"/>

          <feature name="http://api.phonegap.com/1.0/file"/>

          <feature name="http://api.phonegap.com/1.0/geolocation"/>

          <feature name="http://api.phonegap.com/1.0/media"/>

          <feature name="http://api.phonegap.com/1.0/network"/>

          <feature name="http://api.phonegap.com/1.0/notification"/>

       

      </widget>