{"action":"created","issue":{"url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/38","labels_url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/38/comments","events_url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/38/events","html_url":"https://github.com/kontaktio/Android-SDK/issues/38","id":103030368,"number":38,"title":"Duplicate files error","user":{"login":"chawlatarika5","id":8285236,"avatar_url":"https://avatars.githubusercontent.com/u/8285236?v=3","gravatar_id":"","url":"https://api.github.com/users/chawlatarika5","html_url":"https://github.com/chawlatarika5","followers_url":"https://api.github.com/users/chawlatarika5/followers","following_url":"https://api.github.com/users/chawlatarika5/following{/other_user}","gists_url":"https://api.github.com/users/chawlatarika5/gists{/gist_id}","starred_url":"https://api.github.com/users/chawlatarika5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chawlatarika5/subscriptions","organizations_url":"https://api.github.com/users/chawlatarika5/orgs","repos_url":"https://api.github.com/users/chawlatarika5/repos","events_url":"https://api.github.com/users/chawlatarika5/events{/privacy}","received_events_url":"https://api.github.com/users/chawlatarika5/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-25T14:08:39Z","updated_at":"2015-08-31T17:29:33Z","closed_at":"2015-08-31T16:23:44Z","body":"I tried both the ways mentioned in the tutorial on this link: http://docs.kontakt.io/android-sdk/2.0.0/quickstart/#latest-version. I also tried integrating the SDK libraries manually from here: https://github.com/kontaktio/Android-SDK/. I also tried this solution mentioned in link: http://stackoverflow.com/questions/20827885/android-studio-0-4-duplicate-files-copied-in-apk-meta-inf-license-txt\r\n\r\nHere is the error I am getting:\r\n\r\n**********************\r\n\r\nError:Execution failed for task ':app:packageDebug'.\r\n\r\n> Duplicate files copied in APK main/AndroidManifest.xml\r\n\r\nFile 1: /Users/tarikachawla/AndroidStudioProjects/vault-app/SecureVault-Android/app/build/intermediates/exploded-aar/com.kontakt.sdk.android/kontakt.io-api-client/2.0.0/jars/classes.jar\r\n\r\nFile 2: /Users/tarikachawla/AndroidStudioProjects/vault-app/SecureVault-Android/app/build/intermediates/exploded-aar/com.kontakt.sdk.android/kontakt.io-common-sdk/2.0.0/jars/classes.jar\r\n\r\nI would really appreciate your help. \r\n"},"comment":{"url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/comments/136436195","html_url":"https://github.com/kontaktio/Android-SDK/issues/38#issuecomment-136436195","issue_url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/38","id":136436195,"user":{"login":"Dadoffak","id":13906396,"avatar_url":"https://avatars.githubusercontent.com/u/13906396?v=3","gravatar_id":"","url":"https://api.github.com/users/Dadoffak","html_url":"https://github.com/Dadoffak","followers_url":"https://api.github.com/users/Dadoffak/followers","following_url":"https://api.github.com/users/Dadoffak/following{/other_user}","gists_url":"https://api.github.com/users/Dadoffak/gists{/gist_id}","starred_url":"https://api.github.com/users/Dadoffak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dadoffak/subscriptions","organizations_url":"https://api.github.com/users/Dadoffak/orgs","repos_url":"https://api.github.com/users/Dadoffak/repos","events_url":"https://api.github.com/users/Dadoffak/events{/privacy}","received_events_url":"https://api.github.com/users/Dadoffak/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T17:29:33Z","updated_at":"2015-08-31T17:29:33Z","body":"I don't use Android Studio, but as it seems you have to do it like I wrote:\r\n\r\n1) Extract jar\r\n2) Physically remove Manifest\r\n3) Rebuild jar using standard java jar console tool\r\n\r\nAfter doing this check, if the structure of the old jar is the same in the new jar (you might need some tries, if you're not used to using jar)\r\n\r\nHope this will help"}}