0

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.

Declaring method

Second image

Showing this Exception

enter image description here

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.

Pre_hacker
  • 1,352
  • 1
  • 17
  • 21

0 Answers0