{"action":"created","issue":{"url":"https://api.github.com/repos/karussell/directions-api-vrp-java-client/issues/8","labels_url":"https://api.github.com/repos/karussell/directions-api-vrp-java-client/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/karussell/directions-api-vrp-java-client/issues/8/comments","events_url":"https://api.github.com/repos/karussell/directions-api-vrp-java-client/issues/8/events","html_url":"https://github.com/karussell/directions-api-vrp-java-client/issues/8","id":125418191,"number":8,"title":"After adding this lib as dependecy to Android app build fails","user":{"login":"farmazon3000","id":3843089,"avatar_url":"https://avatars.githubusercontent.com/u/3843089?v=3","gravatar_id":"","url":"https://api.github.com/users/farmazon3000","html_url":"https://github.com/farmazon3000","followers_url":"https://api.github.com/users/farmazon3000/followers","following_url":"https://api.github.com/users/farmazon3000/following{/other_user}","gists_url":"https://api.github.com/users/farmazon3000/gists{/gist_id}","starred_url":"https://api.github.com/users/farmazon3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farmazon3000/subscriptions","organizations_url":"https://api.github.com/users/farmazon3000/orgs","repos_url":"https://api.github.com/users/farmazon3000/repos","events_url":"https://api.github.com/users/farmazon3000/events{/privacy}","received_events_url":"https://api.github.com/users/farmazon3000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-07T15:42:10Z","updated_at":"2016-01-08T11:27:06Z","closed_at":null,"body":"All my dependencies are like:\r\n\r\n```\r\ndependencies {\r\n    compile fileTree(include: ['*.jar'], dir: 'libs')\r\n    testCompile 'junit:junit:4.12'\r\n    compile 'com.android.support:appcompat-v7:23.1.1'\r\n    compile 'com.google.android.gms:play-services:8.4.0'\r\n    compile 'com.parse.bolts:bolts-tasks:1.3.0'\r\n    compile 'com.parse:parse-android:1.12.0'\r\n    compile 'com.graphhopper:directions-api-java-client:0.5.0.2'\r\n    compile 'com.graphhopper:directions-api-vrp-java-client:0.5.0.1'\r\n}\r\n```\r\n\r\nAnd build fails with:\r\n\r\n```\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.\r\n> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/LICENSE\r\n  \tFile1: /home/fr/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.4.2/6bb52af09372d5064206d47d7887d41671f00f7d/jackson-annotations-2.4.2.jar\r\n  \tFile2: /home/fr/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.4.2/8e31266a272ad25ac4c089734d93e8d811652c1f/jackson-databind-2.4.2.jar\r\n  \tFile3: /home/fr/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.4.2/ceb72830d95c512b4b300a38f29febc85bdf6e4b/jackson-core-2.4.2.jar\r\n\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n```"},"comment":{"url":"https://api.github.com/repos/karussell/directions-api-vrp-java-client/issues/comments/169971877","html_url":"https://github.com/karussell/directions-api-vrp-java-client/issues/8#issuecomment-169971877","issue_url":"https://api.github.com/repos/karussell/directions-api-vrp-java-client/issues/8","id":169971877,"user":{"login":"farmazon3000","id":3843089,"avatar_url":"https://avatars.githubusercontent.com/u/3843089?v=3","gravatar_id":"","url":"https://api.github.com/users/farmazon3000","html_url":"https://github.com/farmazon3000","followers_url":"https://api.github.com/users/farmazon3000/followers","following_url":"https://api.github.com/users/farmazon3000/following{/other_user}","gists_url":"https://api.github.com/users/farmazon3000/gists{/gist_id}","starred_url":"https://api.github.com/users/farmazon3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farmazon3000/subscriptions","organizations_url":"https://api.github.com/users/farmazon3000/orgs","repos_url":"https://api.github.com/users/farmazon3000/repos","events_url":"https://api.github.com/users/farmazon3000/events{/privacy}","received_events_url":"https://api.github.com/users/farmazon3000/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T11:27:06Z","updated_at":"2016-01-08T11:27:06Z","body":"It returns 500 also when I curl (i.e. not from Android app):\r\n\r\n```\r\ncurl -X POST -H \"Content-Type: application/json\" \"https://graphhopper.com/api/1/vrp/optimize?key=...\" --data @thisJSONgets500.txt\r\n```\r\n\r\nSo it must be sth wrong with the JSON."}}