Reputation: 2935
I'm just updated app with api 23 (Android Marshmallow) And MarshMallow removes support for the Apache HTTP client. If your app is using this client and targets Android 2.3 (API level 9) or higher, have to use the HttpURLConnection class instead. but volley support only AndroidHttpClient. So how can i use volley with HttpUrlConnection for better performance and caching requested data.
Upvotes: 1
Views: 612
Reputation: 5470
Go to Android SDK Dir ...Android\sdk\platforms\android-23\optional
Copy "org.apache.http.legacy.jar" file to lib folder. Clean project and run.
Upvotes: 1