自从我将SDK工具更新到r12后,一个已有的项目(没有任何代码更改)现在在aapt生成过程中失败,错误信息如下:
[INFO] 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, -I, C:\Dev\Android-sdk\platforms\android-10\android.jar] [INFO] C:\Source\android\Jumblee\target\generated-sources\combined-resources\res\values\theme.xml:16: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/WindowTitle. 资源文件中相关的行如下:
有人看到类似的情况吗?或者更好的是知道发生了什么?
[INFO] 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, -I, C:\Dev\Android-sdk\platforms\android-10\android.jar] [INFO] C:\Source\android\Jumblee\target\generated-sources\combined-resources\res\values\theme.xml:16: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/WindowTitle. 资源文件中相关的行如下:
<!-- 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>
有人看到类似的情况吗?或者更好的是知道发生了什么?