У меня есть проект приложения Cordova в Visual Studio 2017, который до сих пор работал нормально.В проект не было внесено никаких изменений.
Теперь мы получаем ошибки этой сборки:
1>MSBUILD : cordova-build error : C:\Users\Adam.Akers\Documents\Visual Studio 2015\Projects\BCA\HH\BcaView\platforms\android\build\intermediates\res\merged\debug\values\values.xml:173: AAPT: Attribute "layout_anchorGravity" already defined with incompatible format.
1>MSBUILD : cordova-build error : C:\Users\Adam.Akers\Documents\Visual Studio 2015\Projects\BCA\HH\BcaView\platforms\android\build\intermediates\res\merged\debug\values\values.xml:172: AAPT: Original attribute defined here.
1>MSBUILD : cordova-build error : FAILURE: Build failed with an exception.
1>MSBUILD : cordova-build error : * What went wrong:
1>MSBUILD : cordova-build error : Execution failed for task ':processDebugResources'.
1>MSBUILD : cordova-build error : > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\ProgramData\Microsoft\AndroidSDK\25\build-tools\25.0.3\aapt.exe'' finished with non-zero exit value 1
1>MSBUILD : cordova-build error : * Try:
1>MSBUILD : cordova-build error : Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
1>MSBUILD : cordova-build error : Picked up _JAVA_OPTIONS: -Xmx512M
Любая помощь будет отличной.Я удалил плагины и проверил версию SDK, и мы ничего не изменили