-2

Error

Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.

java.io.IOException: proguard.ParseException: Expecting java type before 'org.apache.httpcomponents:httpclient:4.5.2' in line 16 of file 'E:\Dipali**********\app\proguard-rules.pro'

swiftBoy
  • 35,607
  • 26
  • 136
  • 135
dipali
  • 59
  • 9

1 Answers1

0

Try to replace

-dontwarn org.apache.httpcomponents:httpclient:4.5.2

with

-dontwarn org.apache.http.**
Christopher
  • 9,682
  • 7
  • 47
  • 76
  • :Thanks for reply but still i am getting errors like Warning:Dependency org.apache.httpcomponents:httpclient:4.5.2 is ignored for debug as it may be conflicting with the internal version provided by Android. – dipali Sep 22 '16 at 11:50
  • This error seems not related to your origin question. Maybe this helps: http://stackoverflow.com/questions/31653002/how-to-use-the-legacy-apache-http-client-on-android-marshmallow – Christopher Sep 22 '16 at 12:52