我正在努力将现有的应用程序移植到新的设置中,我几乎所有工作都正常,但是当我尝试构建项目时,我得到的错误是debug / AndroidManifest.xml中的某些元素无法识别。以下是一些截图:
知道为什么会发生这种情况以及如何解决这个问题?
这是我的styles.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CustomTheme" parent="android:Theme.Light">
<item name="android:windowBackground">@color/white</item>
<item name="android:colorBackground">@color/white</item>
</style>
<style name="home_page_buttons">
<item name="android:layout_marginLeft">10dp</item>
<item name="android:layout_marginRight">10dp</item>
<item name="android:textStyle">bold</item>
<item name="android:color">@color/white</item>
<item name="android:layout_height">45dip</item>
<!-- <item name="android:background">@drawable/white_button</item> -->
</style>
<style name="home_page_two_buttons">
<item name="android:textStyle">bold</item>
<item name="android:color">@color/white</item>
<item name="android:layout_height">45dip</item>
<!-- <item name="android:background">@drawable/white_button</item> -->
</style>
<!-- Information Pages -->
<style name="instruction_text">
<item name="android:padding">10px</item>
<item name="android:textSize">16sp</item>
</style>
<style name="instruction_quote">
<item name="android:padding">10px</item>
<item name="android:textSize">12sp</item>
</style>
<style name="instruction_heading">
<item name="android:padding">10px</item>
<item name="android:textSize">17sp</item>
<item name="android:textColor">@color/light_best_blue</item>
</style>
</resources>
答案 0 :(得分:1)
你提到了android:theme为&#34; AppBaseTheme&#34;但是我没有在你的style.xml文件中看到那种风格。