由于将我的 SDK 工具更新到 r12,现有项目(零代码更改)现在在 aapt 生成期间失败:
[信息] C:\Dev\Android-sdk\platform-tools\aapt.exe [package, -m, -J, C:\Source\android\Jumblee\target\generated-sources\r, -M, C: \Source\android\Jumblee\target\filtered-manifest\AndroidManifest.xml, -S, C:\Source\android\Jumblee\target\generated-sources\combined-resources\res, --auto-add-overlay, -我,C:\Dev\Android-sdk\platforms\android-10\android.jar]
[INFO] C:\Source\android\Jumblee\target\generated-sources\combined-resources\res\values\theme.xml:16:错误:检索项目的父项时出错:未找到与给定名称匹配的资源'@安卓:样式/窗口标题。
资源文件中的相关行是:
<!-- Set the theme for the window title -->
<!-- NOTE: setting android:textAppearance to style defined above --
<style name="CustomWindowTitle" parent="@android:style/WindowTitle">
<item name="android:textAppearance">@style/CustomWindowTitleText</item>
</style>
有没有人看起来类似的东西?还是更好地知道 wtf 正在发生?