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";
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?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.