I have used this before to send data to server in eclipse. now I'm using the same thing in Android Studio but it's showing Exception. in this line.
entity.addPart("product_id",new StringBody("Id",new StringBody("12")));
I know, I should use volley but just curious why it is showing this exception in Android Studio.
Second image
Showing this Exception
I have added everything on its place. it is working in eclipse but not in android studio. is I'm doing something wrong here ? Please help me with this.