更新IDE后,Android资源喜欢失败

时间:2018-10-16 12:22:26

标签: android-studio

我已经将Android Studio更新到了最新版本(3.1)。在构建时会出现很多错误。

其中之一:

  

Android资源链接失败输出:C:\ Users \ user \ Computer   科学\ 3eme膝盖\手机   application \ lab3 \ app \ src \ main \ res \ layout \ activity_main.xml:64:错误:   '25 \ sp'与属性textSize(attr)尺寸不兼容。   错误:链接文件资源失败。

     

命令:   C:\ Users \ user.gradle \ caches \ transforms-1 \ files-1.1 \ aapt2-3.2.1-4818971-windows.jar \ 2aa1a50b275688b3c8017d916765ab19 \ aapt2-3.2.1-4818971-windows \ aapt2.exe   链接-I \           C:\ Users \ user \ AppData \ Local \ Android \ Sdk \ platforms \ android-28 \ android.jar \            - 表现\           C:\ Users \ user \ Computer Science \ 3eme annee \ mobile application \ lab3 \ app \ build \ intermediates \ merged_manifests \ debug \ processDebugManifest \ merged \ AndroidManifest.xml \           -o \           C:\ Users \ user \ Computer Science \ 3eme annee \ mobile application \ lab3 \ app \ build \ intermediates \ processed_res \ debug \ processDebugResources \ out \ resources-debug.ap_ \           -R \           @C:\ Users \ user \ Computer Science \ 3eme annee \ mobile application \ lab3 \ app \ build \ intermediates \ incremental \ processDebugResources \ resources-list-for-resources-debug.ap_.txt \           --auto-add-overlay \           --java \           C:\ Users \ user \ Computer Science \ 3eme annee \ mobile application \ lab3 \ app \ build \ Generated \ not_namespaced_r_class_sources \ debug \ processDebugResources \ r \           --custom-package \           com.example.user.lab3 \           -0 \           apk \           --output-text-symbols \           C:\ Users \ user \ Computer Science \ 3eme annee \ mobile application \ lab3 \ app \ build \ intermediates \ symbols \ debug \ R.txt \           --no-version-vectors守护程序:AAPT2 aapt2-3.2.1-4818971-windows守护程序#0

我该怎么办?

0 个答案:

没有答案