Long.getLong() failing, returning null to valid string

前端 未结 5 1260
遥遥无期
遥遥无期 2020-12-16 09:44

I\'ve spent the past two hours debugging what seems extremely unlikely. I\'ve stripped the method of a secondary Android Activity to exactly this:

public voi         


        
5条回答
  •  生来不讨喜
    2020-12-16 10:16

    I think you are using wrong function use Long.parseLong(str) then you can get the right answer.

提交回复
热议问题