{"action":"created","issue":{"url":"https://api.github.com/repos/fge/json-schema-validator/issues/153","labels_url":"https://api.github.com/repos/fge/json-schema-validator/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/fge/json-schema-validator/issues/153/comments","events_url":"https://api.github.com/repos/fge/json-schema-validator/issues/153/events","html_url":"https://github.com/fge/json-schema-validator/issues/153","id":61070727,"number":153,"title":"JsonSchemaFactoryBuilder not able to create a JsonSchemaFactory in Android","user":{"login":"ascoril","id":11460839,"avatar_url":"https://avatars.githubusercontent.com/u/11460839?v=3","gravatar_id":"","url":"https://api.github.com/users/ascoril","html_url":"https://github.com/ascoril","followers_url":"https://api.github.com/users/ascoril/followers","following_url":"https://api.github.com/users/ascoril/following{/other_user}","gists_url":"https://api.github.com/users/ascoril/gists{/gist_id}","starred_url":"https://api.github.com/users/ascoril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascoril/subscriptions","organizations_url":"https://api.github.com/users/ascoril/orgs","repos_url":"https://api.github.com/users/ascoril/repos","events_url":"https://api.github.com/users/ascoril/events{/privacy}","received_events_url":"https://api.github.com/users/ascoril/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-13T14:04:04Z","updated_at":"2015-03-16T16:33:28Z","closed_at":null,"body":"JsonSchemaFactoryBuilder factoryBuilder = JsonSchemaFactory.newBuilder(); \r\n\r\nthrows an exception \" android zygoteinit$methodandargscaller \"\r\n\r\nhttp://developer.oesf.biz/em/developer/reference/durian/com/android/internal/os/ZygoteInit.MethodAndArgsCaller.html\r\n\r\nandroid sdk details:\r\n\r\ntarget sdk is 19\r\nmin sdk version is 14\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fge/json-schema-validator/issues/comments/81779617","html_url":"https://github.com/fge/json-schema-validator/issues/153#issuecomment-81779617","issue_url":"https://api.github.com/repos/fge/json-schema-validator/issues/153","id":81779617,"user":{"login":"ascoril","id":11460839,"avatar_url":"https://avatars.githubusercontent.com/u/11460839?v=3","gravatar_id":"","url":"https://api.github.com/users/ascoril","html_url":"https://github.com/ascoril","followers_url":"https://api.github.com/users/ascoril/followers","following_url":"https://api.github.com/users/ascoril/following{/other_user}","gists_url":"https://api.github.com/users/ascoril/gists{/gist_id}","starred_url":"https://api.github.com/users/ascoril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascoril/subscriptions","organizations_url":"https://api.github.com/users/ascoril/orgs","repos_url":"https://api.github.com/users/ascoril/repos","events_url":"https://api.github.com/users/ascoril/events{/privacy}","received_events_url":"https://api.github.com/users/ascoril/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T16:33:28Z","updated_at":"2015-03-16T16:33:28Z","body":"I have found out the issue. It seems there is an existing schema file in json-schema-core-1.2.5.jar under the draftv3 and draftv4 folders. Which is a duplicate of the schema files under draftv3 and draftv4 under json-schema-validator-2.2.6.jar. So gradle ask to exclude the schema file as: \r\n\r\npackagingOptions {\r\n        exclude 'META-INF/LICENSE'\r\n        exclude 'META-INF/NOTICE'\r\n        exclude 'LICENSE'\r\n        exclude 'draftv3/schema'\r\n        exclude 'draftv4/schema'\r\n        exclude 'META-INF/LICENSE.txt'\r\n        exclude 'META-INF/NOTICE.txt'\r\n        exclude 'META-INF/ASL-2.0.txt'\r\n        exclude 'META-INF/LGPL-3.0.txt'\r\n    }\r\n\r\nOn doing so, the above exception comes"}}