Android工作室即使完全重新安装也能破坏

时间:2015-04-03 20:20:56

标签: java android android-studio compiler-errors ide

我收到错误消息

Error:Error: org.apache.xerces.dom.DocumentImpl cannot be cast to org.apache.xerces.dom.DeferredDocumentImpl
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

Error:Execution failed for task ':app:mergeDebugResources'.
> C:\Users\User1\AndroidStudioProjects\MyApplication\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.0.0\res\values\values.xml: Error: org.apache.xerces.dom.DocumentImpl cannot be cast to org.apache.xerces.dom.DeferredDocumentImpl
li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Android Studio中的

。它之前工作正常,直到我开始对设置下的VM选项进行一些更改。从那以后,我卸载了Android studio,删除了C:\ users \ user下的文件夹。当我创建一个新项目时,仍会出现相同的错误。

如何彻底删除Andriod studio,以免这个错误消失? 我在考虑它的一些注册表设置。我真的不想进行系统重新格式化。

0 个答案:

没有答案