Hey there I am importing few http packages for communication but I am getting error in these lines:
@Santosh Yes httpclient has been deprecated in Android 5.1 and has been removed from the Android SDK in Android 6.0. You can read about this in more detail on this link
To fix your problem you just need to add this line in android tag in build.gradle file
Hope this helps.