Build fail because of "processDebugRessources"


#1

Hello ! I'm using the last version of ionic and when i try to build an app for Android it's a failure and i've got this:

``` :processDebugResources D:\Projets\lpo-prototype\lpo-prototype-app-mobile\Project\platforms\android\res\xml\config.xml:81: AAPT: Error parsing XML: unbound prefix

FAILED

BUILD FAILED

Total time: 8.849 secs

D:\Projets\lpo-prototype\lpo-prototype-app-mobile\Project\platforms\android\build\intermediates\res\merged\debug\xml\config.xml:81: error: Error parsing XML: unbound prefix

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:processDebugResources’.

com.android.ide.common.process.ProcessException: Failed to execute aapt

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

Error: cmd: 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.
D:\Projets\lpo-prototype\lpo-prototype-app-mobile\Project\platforms\android\res\xml\config.xml:81: AAPT: Error parsing XML: unbound prefix

D:\Projets\lpo-prototype\lpo-prototype-app-mobile\Project\platforms\android\build\intermediates\res\merged\debug\xml\config.xml:81: error: Error parsing XML: unbound prefix

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:processDebugResources’.

com.android.ide.common.process.ProcessException: Failed to execute aapt

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
I already tried to reinstall the android platform many times.

Thanks for your help

#2

Did you try

as it says in the error message?


#3

I don’t know how to use this command,
ionic build android --stacktrace doesn’t work, it’s look like the cmd think it’s the name “–stacktrace”