danysantiago / sendgrid-android

SendGrid Library for Android
MIT License
32 stars 13 forks source link

Necessary changes in build.gradle (2018) #8

Closed Leandroafm21 closed 6 years ago

Leandroafm21 commented 6 years ago

Hello,

As written on another issue, it seems that this package (which uses apache's httpclient adaptation for Android) conflicts with the standard httpclient. Had to add:

exclude group: 'org.apache.httpcomponents', module: 'httpclient'

Also, had to add on packagingOptions the following:

exclude 'META-INF/DEPENDENCIES'

Just a heads-up for anyone who is using this in 2018 and had problems (like me).

obs. using Gradle 4.8