我的android应用程序较早(我将其构建并在手机上运行且没有问题)很好,然后当我打开android studio继续使用它时,我所有的.java文件都有一个
无法解析符号R
由于某种原因出错,然后我查看了我的Android清单文件并找到了
<?xml version="1.0" encoding="UTF-8"?>
<root>
<item name="android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl void createSession(android.view.inputmethod.InputMethod.SessionCallback)">
<annotation name="androidx.annotation.MainThread"/>
</item>
<item name="android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl void revokeSession(android.view.inputmethod.InputMethodSession)">
<annotation name="androidx.annotation.MainThread"/>
</item>
<item name="android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl void setSessionEnabled(android.view.inputmethod.InputMethodSession, boolean)">
<annotation name="androidx.annotation.MainThread"/>
</item>
<item name="android.inputmethodservice.InputMethodService boolean onEvaluateInputViewShown()">
<annotation name="androidx.annotation.CallSuper"/>
</item>
<item name="android.inputmethodservice.InputMethodService int getBackDisposition()">
<annotation name="androidx.ann
每行错误属性缺少android名称空间前缀
。我不知道该如何解决。添加缺少的xml关闭标签无效。我是android studio的初学者,我们将提供任何帮助