1
resposta

Erro ao rodar o projeto QRCODE -> error: Error parsing XML: unbound prefix

Quando fui rodar me deparei com este erro:

:processDebugResourcesC:\Users\DELL\garconapp\platforms\android\res\xml\config.xml:34: AAPT: Error parsing XML: unbound prefix
     FAILED

C:\Users\DELL\garconapp\platforms\android\build\intermediates\res\merged\debug\xml\config.xml:34: error: Error parsing XML: unbound prefix




BUILD FAILED

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.
Total time: 4.04 secs
Error: cmd: Command failed with exit code 1 Error output:
C:\Users\DELL\garconapp\platforms\android\res\xml\config.xml:34: AAPT: Error parsing XML: unbound prefix

C:\Users\DELL\garconapp\platforms\android\build\intermediates\res\merged\debug\xml\config.xml:34: 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.

Vocês poderiam me dar um suporte, já tentei procurar na internet o motivo do erro mas infelizmente não tive sucesso.

1 resposta

Parece algum erro interno no projeto android que o cordova gerou. Eu tentaria regerar tudo com:

cordova plataform rm android
cordova plataform add android