{"action":"created","issue":{"url":"https://api.github.com/repos/moip/android-sdk-sample/issues/1","labels_url":"https://api.github.com/repos/moip/android-sdk-sample/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/moip/android-sdk-sample/issues/1/comments","events_url":"https://api.github.com/repos/moip/android-sdk-sample/issues/1/events","html_url":"https://github.com/moip/android-sdk-sample/issues/1","id":56183548,"number":1,"title":"Conflito com Android Lollipop","user":{"login":"weibsons","id":10744782,"avatar_url":"https://avatars.githubusercontent.com/u/10744782?v=3","gravatar_id":"","url":"https://api.github.com/users/weibsons","html_url":"https://github.com/weibsons","followers_url":"https://api.github.com/users/weibsons/followers","following_url":"https://api.github.com/users/weibsons/following{/other_user}","gists_url":"https://api.github.com/users/weibsons/gists{/gist_id}","starred_url":"https://api.github.com/users/weibsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weibsons/subscriptions","organizations_url":"https://api.github.com/users/weibsons/orgs","repos_url":"https://api.github.com/users/weibsons/repos","events_url":"https://api.github.com/users/weibsons/events{/privacy}","received_events_url":"https://api.github.com/users/weibsons/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-01T23:36:51Z","updated_at":"2015-02-10T17:34:31Z","closed_at":"2015-02-10T17:32:53Z","body":"A dependência 'com.netflix.feign:feign-gson:6.1.2' está em conflito ao compilar o código com as bibliotecas do Android 5 (lollipop).\r\n\r\nFoi tentando utilizar as dependências que estão em anexo com o projeto do github (fiz o clone para adicionar manual) mesmo assim continua com problemas.\r\n\r\nEstou desenvolvendo nas seguintes configurações:\r\n\r\nminSdkVersion 14\r\ntargetSdkVersion 21\r\n\r\n\r\nBibliotecas que estão em anexo com o meu projeto:\r\n\r\n    compile fileTree(include: ['*.jar'], dir: 'libs')\r\n    compile files('libs/pinchzoom.jar')\r\n    compile files('libs/urlimageviewhelper-1.0.4.jar')\r\n    compile files('libs/MoipSDK.jar')\r\n\r\n    compile 'com.android.support:appcompat-v7:21.0.3'\r\n    compile 'com.android.support:support-v4:21.0.3'\r\n    compile 'com.android.support:cardview-v7:21.0.3'\r\n    compile 'com.android.support:recyclerview-v7:21.0.3'\r\n    compile 'com.google.android.gms:play-services:6.5.87'\r\n    compile 'com.facebook.android:facebook-android-sdk:3.22.0'\r\n    compile 'com.madgag.spongycastle:pkix:1.51.0.0'\r\n    compile 'commons-codec:commons-codec:1.10'\r\n\r\nQuando eu removo a dependência o sistema funciona normalmente e chega a enviar a requisição para o MOIP com o checkout transparente, mas quando ocorre o retorno (via callback) o sistema gera um CRASH informando que está faltando a biblioteca do Google GSON (que está dentro do pacote de dependência que eu removi).\r\n\r\n\r\nQuando coloco a dependência o apk sequer executa, aparece o seguinte erro:\r\n\r\nUNEXPECTED TOP-LEVEL EXCEPTION:\r\nError:Execution failed for task ':app:dexDebug'.\r\n> com.android.ide.common.internal.LoggedErrorException: Failed to run command:\r\nC:\\Users\\Weibson\\AppData\\Local\\Android\\sdk\\build-tools\\21.1.2\\dx.bat --dex --no-optimize --output C:\\Users\\Weibson\\SkyDrive\\Android\\eCardapio\\app\\build\\intermediates\\dex\\debug --input-list=C:\\Users\\Weibson\\SkyDrive\\Android\\eCardapio\\app\\build\\intermediates\\tmp\\dex\\debug\\inputList.txt\r\nError Code:\r\n2\r\nOutput:\r\nUNEXPECTED TOP-LEVEL EXCEPTION:\r\ncom.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536\r\nat com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:502)\r\nat com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:277)\r\nat com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:491)\r\nat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:168)\r\nat com.android.dx.merge.DexMerger.merge(DexMerger.java:189)\r\nat com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)\r\nat com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)\r\nat com.android.dx.command.dexer.Main.run(Main.java:246)\r\nat com.android.dx.command.dexer.Main.main(Main.java:215)\r\nat com.android.dx.command.Main.main(Main.java:106)"},"comment":{"url":"https://api.github.com/repos/moip/android-sdk-sample/issues/comments/73744300","html_url":"https://github.com/moip/android-sdk-sample/issues/1#issuecomment-73744300","issue_url":"https://api.github.com/repos/moip/android-sdk-sample/issues/1","id":73744300,"user":{"login":"caueferreira","id":4876851,"avatar_url":"https://avatars.githubusercontent.com/u/4876851?v=3","gravatar_id":"","url":"https://api.github.com/users/caueferreira","html_url":"https://github.com/caueferreira","followers_url":"https://api.github.com/users/caueferreira/followers","following_url":"https://api.github.com/users/caueferreira/following{/other_user}","gists_url":"https://api.github.com/users/caueferreira/gists{/gist_id}","starred_url":"https://api.github.com/users/caueferreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caueferreira/subscriptions","organizations_url":"https://api.github.com/users/caueferreira/orgs","repos_url":"https://api.github.com/users/caueferreira/repos","events_url":"https://api.github.com/users/caueferreira/events{/privacy}","received_events_url":"https://api.github.com/users/caueferreira/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T17:34:31Z","updated_at":"2015-02-10T17:34:31Z","body":"Obrigado pelo feedback. Disponibilizamos uma nova atualização da SDK, talvez queira conferir. \r\nCaso precise de ajuda, estamos aqui para ajuda-lo.\r\n\r\nAbraços,"}}