hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marek Sebera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1632) HttpClient deprecated in Android API level 22
Date Mon, 24 Aug 2015 09:42:46 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709024#comment-14709024
] 

Marek Sebera commented on HTTPCLIENT-1632:
------------------------------------------

I know and I'm sorry for that.

Yes, official port works for API 22 and lower

Stock version is sincerelly not usable, Gradle (buildscript) refuses to use the packages as
they would conflict, on API23 alone it could work, but on lower APIs it will be conflict with
what is provided on runtime classpath.

Yes, HttpClientAndroidLib is usable, but old

I get it, I'll give it some time and probably will provide Maven distributed repackaged versions
of stock HttpClient libraries.
Would be still cool if you could provide this officially, but I get it if you don't have the
resources to do so.

> HttpClient deprecated in Android API level 22
> ---------------------------------------------
>
>                 Key: HTTPCLIENT-1632
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1632
>             Project: HttpComponents HttpClient
>          Issue Type: Task
>          Components: Android Port
>    Affects Versions: 4.3.5.1-android
>            Reporter: Kurian Abraham
>            Priority: Minor
>              Labels: documentation
>             Fix For: 5.0
>
>
> The entire org.apache.http package classes have now been deprecated by Google in Android
API level 22. Is there some recommended procedure to be followed to avoid the compiler warnings?
Perhaps it should be noted in the documentation.
> http://developer.android.com/reference/org/apache/http/package-summary.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message