Gradle Android build project error: could not find metadata resource

New installation of Android SDK and Android Studio. A completely new project, literally no changes to any file in the project. Works AVD, works 4.4.3 (or something similar). I get the following error:

Gradle 'Gigviz' project refresh failed. Error:Could not find meta-data resource 'META-INF/services/javax.xml.datatype.DatatypeFactory' for service 'javax.xml.datatype.DatatypeFactory'.

The best reason I can think of this error is because I am missing some dependency component javax.xml.datatype.DatatypeFactory. Has anyone encountered this error before?

I am on OS X Yosemite, the latest version of Android Studio.

+4
source share
2 answers
  • Download this: http://www.java2s.com/Code/Jar/j/Downloadjavaxxml134jar.htm

  • Put it in your JDK folder in your program files. Something like that:

C:\Program Files\Java\jdk1.8.0_31\lib\missioncontrol\plugins

, .

+1

Gradle, , JDK lib/endorsed. , - META-INF , - . , Java 1.7 .

0

All Articles