Cas*_*ius 3 java android annotations android-studio android-gradle-plugin
您好我在Android工作室面临巨大问题,甚至无法构建一次.我知道错误发生在jdkAnnotations.jar中.我重新安装了android studio,但问题仍然存在.它还说jdk 1.8中没有附加IDEA注释.我应该重新安装jdk 1.8吗?我点击了附加注释的按钮但没有发生任何事情.请帮忙.为什么会出现这个问题?在任何xml资源文件中有什么问题或什么?请帮助.
C:/Program Files/Android/Android Studio/lib/jdkAnnotations.jar!/java/awt/event/annotations.xml: Content is not allowed in prolog.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
Run Code Online (Sandbox Code Playgroud)
小智 9
我今天得到了同样的错误.只是重新安装Android Studio没有帮助.以下步骤对我有用:
现在将重新安装所有设置,您可以继续处理项目
| 归档时间: |
|
| 查看次数: |
1955 次 |
| 最近记录: |