kotlin的报错提示:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ufi.pdioms.ztkotlin/com.demo.test.kotlin.MainActivity}: java.lang.NumberFormatException: For input string: “”
In the error message: For input string: ""
For input string: ""'"" is an element in the array is "", how to find it, as shown below, this is the debug
671 = "" string is empty
solve:
If the string is empty, do not need to execute