I briefly added a HTTP library from org.apache.http... to try some things 
out, and now I want to remove it as I no longer reference it in my code.  I 
removed the reference in the Project app module Dependencies and deleted 
the apache module itself.

Now the project builds without errors, as long as I don't enable Proguard 
in my gradle file.  If I set "minifyEnabled true" in the app build.gradle, 
I get the following message in the gradle console:

Note: duplicate definition of library class [android.net.http.SslError]
Note: duplicate definition of library class 
[android.net.http.SslCertificate]
Note: duplicate definition of library class 
[android.net.http.SslCertificate$DName]
Note: duplicate definition of library class 
[org.apache.http.conn.scheme.HostNameResolver]
Note: duplicate definition of library class 
[org.apache.http.conn.scheme.SocketFactory]
Note: duplicate definition of library class 
[org.apache.http.conn.ConnectTimeoutException]
Note: duplicate definition of library class 
[org.apache.http.params.HttpParams]

I think these were are left-over from my brief experiment with apach http.  
I would like to get rid of these messages, even though they don't seem to 
be harming the final APK file, which still runs fine.  Is there anywhere 
else I should look for references to this HTTP library?


-Robert Scott
 Hopkins, MN

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/80f8eb35-3f57-4987-b75a-72bf05b59f2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to