[Solved] Integer.parseInt() saying “invalid int” in Marhsmallow 6.0.1, Its working perfectly in Pre-Marshamallow versions


You try to parse a int 16905104155, but it is a long.

Try to parse it as a long, Long.parseLong(serverUptimeText)

6

solved Integer.parseInt() saying “invalid int” in Marhsmallow 6.0.1, Its working perfectly in Pre-Marshamallow versions