0

Link to github Repository

Application uses Volley library to make HTTP requests to servers

secondly what does this below variable means?

String URL = "http://10.0.2.2:3979/api/idm/login";

Log Cat Log Cat

Aymal
  • 191
  • 12

1 Answers1

1

Your server is not returning statusCode. If you pass your value as an Int into "valueOf" function it will cause nullpointerexception. To prevent this you need pass your variable as an Object.

For more information: Why does String.valueOf(null) throw a NullPointerException?

Mücahid Kambur
  • 1,610
  • 13
  • 10