Skip to content

Replace HttpClient with HttpURLConnection #34

@Fleker

Description

@Fleker

Trying to compile with this library in my app on API level 25 and it's not working.

Error:(46, 13) Failed to resolve: org.apache.httpcomponents:httpclient:4.5

After examining some other help it seems like your library is using an old networking library that is not present in the latest versions of Android (and beyond).

Seems like the problem lies in the RSSReader class right at the start.

public RSSFeed load(String uri) throws RSSReaderException {
    HttpGet httpget = new HttpGet(uri);

With some slight tweaking of how the data is retrieved, it should be easy to replace this in the app without any other impact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions