小白提问关于程序过期的问题

小夕快 发布于 2015/06/04 11:18
阅读 99
收藏 0
我前段时间开发了一个小程序,类微博客户端的,现在了解后打开发现一直报错,别人跟我说把手机或虚拟机时间调慢一个月就好了,我想知道这是为什么,是哪里引起的?

以下是问题补充:

@小夕快:06-04 00:09:11.528: W/dalvikvm(2003): threadid=1: thread exiting with uncaught exception (group=0xb1d36b20) 06-04 00:09:11.528: E/AndroidRuntime(2003): FATAL EXCEPTION: main 06-04 00:09:11.528: E/AndroidRuntime(2003): Process: com.cm.activity, PID: 2003 06-04 00:09:11.528: E/AndroidRuntime(2003): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cm.activity/com.cm.activity.MainLoginActivity}: java.lang.NumberFormatException: Invalid long: "uyu" 06-04 00:09:11.528: E/AndroidRuntime(2003): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) 06-04 00:09:11.528: E/AndroidRuntime(2003): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) 06-04 00:09:11.528: E/AndroidRuntime(2003): at android.app.ActivityThread.access$800(ActivityThread.java:135) 06-04 00:09:11.528: E/AndroidRuntime(2003): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) 06-04 00:09:11.528: E/AndroidRuntime(2003): at android.os.Handler.dispatchMessage(Handler.java:102) 06-04 00:09:11.528: E/AndroidRuntime(2003): at android.os.Looper.loop(Looper.java:136) 06-04 00:09:11.528: E/AndroidRuntime(2003): at android.app.ActivityThread.main(ActivityThread.java:5017) 06-04 00:09:11.528: E/AndroidRuntime(2003): at java.lang.reflect.Method.invokeNative(Native Method) 06-04 00:09:11.528: E/AndroidRuntime(2003): at java.lang.reflect.Method.invoke(Method.java:515) 06-04 00:09:11.528: E/AndroidRuntime(2003): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) 06-04 00:09:11.528: E/AndroidRuntime(2003): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) 06-04 00:09:11.528: E/AndroidRuntime(2003): at dalvik.system.NativeStart.main(Native Method) 06-04 00:09:11.528: E/AndroidRuntime(2003): Caused by: java.lang.NumberFormatException: Invalid long: "uyu" 06-04 00:09:11.528: E/AndroidRuntime(2003): at java.lang.Long.invalidLong(Long.java:124) 06-04 00:09:11.528: E/AndroidRuntime(2003): at java.lang.Long.parse(Long.java:361) 06-04 00:09:11.528: E/AndroidRuntime(2003): at java.lang.Long.parseLong(Long.java:352) 06-04 00:09:11.528: E/AndroidRuntime(2003): at java.lang.Long.parseLong(Long.java:318) (2015/06/04 12:19)
加载中
0
假装是大神
假装是大神

Caused by: java.lang.NumberFormatException: Invalid long: "uyu"

数据的格式类型不对

返回顶部
顶部