Unable to compile any Android project due to Gradle fail: Could not find javax.xml.datatype.DatatypeFactory

为君一笑 提交于 2019-11-29 16:26:45

I have encountered the same problem and read the gradle's full stack trace , and found that a jar is missing. The other missing jars, if any will be listed in the full stack trace.

the jar in question is commons-lang3.jar which is needed by gradle. I installed the jar in the below step

sudo apt-get install libcommons-lang3-java

then i ran gradle again and it worked fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!