W
W
wera77772015-11-12 05:43:54
Android
wera7777, 2015-11-12 05:43:54

Project using Apache's HttpPost, will it work on Android 6?

In version 6 of Android, google abandoned the Apache libraries , the question is:
Will my project using HttpPost work on new versions or should I reinvent the wheel to work on 6.0 and older versions?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dante Faustoff, 2015-11-12
@wera7777

It's all up to you, more specifically, compileSdkVersion . Of course, this library is deprecated in the new SDKs, but there is a little hack if you don't want to rewrite the networking classes. It looks something like this

compileSdkVersion 23
useLibrary 'org.apache.http.legacy'

registered in gradle, any SDK version

X
xmoonlight, 2015-11-12
@xmoonlight

Ways 2:
1. Question to Google.
2. Install and test.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question