打开项目报错

C:\Users\Administrator\.gradle\caches\transforms-1\files-1.1\appcompat-v7-28.0.0-alpha1.aar\9b7bff2d11b1ef87db70add8235ec4e2\res\values-v28\values-v28.xml
Error:(5, 5) No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius').
D:\androidspace\androidT\AS_Libs\app_card\build\intermediates\res\merged\androidTest\debug\values-v28\values-v28.xml
Error:(7, 41) No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius').
Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing process D:\studiosdkdown\build-tools\26.0.2\aapt.exe with arguments {package -f --no-crunch -I D:\studiosdkdown\platforms\android-26\android.jar -M \\?\D:\androidspace\androidT\AS_Libs\app_card\build\intermediates\manifest\androidTest\debug\AndroidManifest.xml -S D:\androidspace\androidT\AS_Libs\app_card\build\intermediates\res\merged\androidTest\debug -m -J \\?\D:\androidspace\androidT\AS_Libs\app_card\build\generated\source\r\androidTest\debug -F D:\androidspace\androidT\AS_Libs\app_card\build\intermediates\res\androidTest\debug\resources-debugAndroidTest.ap_ -0 apk --output-text-symbols \\?\D:\androidspace\androidT\AS_Libs\app_card\build\intermediates\symbols\androidTest\debug --no-version-vectors}
Error:com.android.ide.common.process.ProcessException: Error while executing process D:\studiosdkdown\build-tools\26.0.2\aapt.exe with arguments {package -f --no-crunch -I D:\studiosdkdown\platforms\android-26\android.jar -M \\?\D:\androidspace\androidT\AS_Libs\app_card\build\intermediates\manifest\androidTest\debug\AndroidManifest.xml -S D:\androidspace\androidT\AS_Libs\app_card\build\intermediates\res\merged\androidTest\debug -m -J \\?\D:\androidspace\androidT\AS_Libs\app_card\build\generated\source\r\androidTest\debug -F D:\androidspace\androidT\AS_Libs\app_card\build\intermediates\res\androidTest\debug\resources-debugAndroidTest.ap_ -0 apk --output-text-symbols \\?\D:\androidspace\androidT\AS_Libs\app_card\build\intermediates\symbols\androidTest\debug --no-version-vectors}
Error:org.gradle.process.internal.ExecException: Process 'command 'D:\studiosdkdown\build-tools\26.0.2\aapt.exe'' finished with non-zero exit value 1
Error:Execution failed for task ':app_card:processDebugAndroidTestResources'.

> Failed to execute aapt



另外手机安装debug 版本和release版本同时安装需要签名相同

求解决方案

阅读更多
上一篇INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法
下一篇android 项目同一份代码
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭