生成Visual Studio Cordova应用程序时,出现错误为“ AAPT:检索项目的父项”的错误

时间:2019-06-12 05:56:55

标签: android cordova visual-studio-cordova

在构建Visual Studio Cordova(JavaScript)应用程序时出现以下错误

1>MSBUILD : cordova-build error : D:\SHFLSales\SHFLSales\platforms\android\build\intermediates\res\merged\release\values-v24\values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
1>MSBUILD : cordova-build error : D:\SHFLSales\SHFLSales\platforms\android\build\intermediates\res\merged\release\values-v24\values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.


1>MSBUILD : cordova-build error : D:\SHFLSales\SHFLSales\platforms\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\26.1.0\res\values-v26\values-v26.xml:13:5-16:13: AAPT: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
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 ':processReleaseResources'.
1>MSBUILD : cordova-build error : > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Android\Sdk\build-tools\29.0.0\aapt.exe'' finished with non-zero exit value 1

0 个答案:

没有答案