答案 0 :(得分:2)
删除 main \ res \ values \ style.xml xmlns:android =“http://schemas.android.com/apk/res/android” >来自样式标记的文件。 
以下是示例代码:


 < resources xmlns:android =“http://schemas.android.com/apk/res /机器人“>
 < style name =“AppBaseTheme”parent =“android:Theme.Light”>
 < /风格>
 < style name =“AppTheme”parent =“AppBaseTheme”>
 < /风格>

 < style xmlns:android =“http://schemas.android.com/apk/res/android”name =“RadioButton”parent =“@ android:style / Widget.CompoundButton”>
 < item name =“android:button”> @ null< / item>
 < item name =“android:padding”> 5dp< / item>
 < /风格>

 < style xmlns:android =“http://schemas.android.com/apk/res/android”name =“EditText”parent =“@ android:style / Widget.EditText”>
 < item name =“android:textSize”> 15sp< / item>
 < / style>
< / resources>



 它应该是这样的:
&#xA ;
 < resources xmlns:android =“http://schemas.android.com/apk/res/android”>
 < style name =“AppBaseTheme”parent =“android:Theme.Light”>
 < /风格>
 < style name =“AppTheme”parent =“AppBaseTheme”>
 < /风格>

 < style name =“RadioButton”parent =“@ android:style / Widget.CompoundButton”>
 < item name =“android:button”> @ null< / item>
 < item name =“android:padding”> 5dp< / item>
 < /风格>

 < style name =“EditText”parent =“@ android:style / Widget.EditText”>
 < item name =“android:textSize”> 15sp< / item>
 < /风格>
< /资源>
 代码>