1 Reply Latest reply on Aug 24, 2017 11:28 PM by José Jesús Pérez Rivas

    Android build fails

    timf67084068

      I'm getting the following error in the Android build log file.

       

      Build Date: 2017-08-23 18:58:22 +0000
      Subproject Path: CordovaLib
      Configuration on demand is an incubating feature.
      Incremental java compilation is an incubating feature.
      [Fatal Error] :16:352: The value of the attribute "prefix="xmlns",localpart="android",rawname="xmlns:android"" is invalid. Prefixed namespace bindings may not be empty.

      FAILURE: Build failed with an exception.

      * What went wrong:
      A problem occurred configuring root project 'project'.
      > Exception while parsing the supplied manifest file /project/AndroidManifest.xml

      * 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.501 secs
      Error: /project/gradlew: Command failed with exit code 1 Error output:
      [Fatal Error] :16:352: The value of the attribute "prefix="xmlns",localpart="android",rawname="xmlns:android"" is invalid. Prefixed namespace bindings may not be empty.

      FAILURE: Build failed with an exception.

      * What went wrong:
      A problem occurred configuring root project 'project'.
      > Exception while parsing the supplied manifest file /project/AndroidManifest.xml

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

       

      This same application built just fine last week, and now does not even though the manifest has not changed. Any help pointing me in the right direction would be appreciated.