2 shenlei190810 shenlei190810 于 2014.03.19 18:50 提问

在Eclipse中的模拟器中可以运行,但是在手机上不能运行,都是ANdroid 2.3版本的

01-27 15:53:54.449: E/AndroidRuntime(6721): FATAL EXCEPTION: main
01-27 15:53:54.449: E/AndroidRuntime(6721): java.lang.ArrayIndexOutOfBoundsException
01-27 15:53:54.449: E/AndroidRuntime(6721): at com.amaker.wlo.LoginActivity.saveUserMsg(LoginActivity.java:95)
01-27 15:53:54.449: E/AndroidRuntime(6721): at com.amaker.wlo.LoginActivity.login(LoginActivity.java:80)
01-27 15:53:54.449: E/AndroidRuntime(6721): at com.amaker.wlo.LoginActivity.access$1(LoginActivity.java:65)
01-27 15:53:54.449: E/AndroidRuntime(6721): at com.amaker.wlo.LoginActivity$2.onClick(LoginActivity.java:54)
01-27 15:53:54.449: E/AndroidRuntime(6721): at android.view.View.performClick(View.java:2485)
01-27 15:53:54.449: E/AndroidRuntime(6721): at android.view.View$PerformClick.run(View.java:9080)
01-27 15:53:54.449: E/AndroidRuntime(6721): at android.os.Handler.handleCallback(Handler.java:587)
01-27 15:53:54.449: E/AndroidRuntime(6721): at android.os.Handler.dispatchMessage(Handler.java:92)
01-27 15:53:54.449: E/AndroidRuntime(6721): at android.os.Looper.loop(Looper.java:130)
01-27 15:53:54.449: E/AndroidRuntime(6721): at android.app.ActivityThread.main(ActivityThread.java:3821)
01-27 15:53:54.449: E/AndroidRuntime(6721): at java.lang.reflect.Method.invokeNative(Native Method)
01-27 15:53:54.449: E/AndroidRuntime(6721): at java.lang.reflect.Method.invoke(Method.java:507)
01-27 15:53:54.449: E/AndroidRuntime(6721): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:875)
01-27 15:53:54.449: E/AndroidRuntime(6721): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:633)
01-27 15:53:54.449: E/AndroidRuntime(6721): at dalvik.system.NativeStart.main(Native Method)

1个回答

xiyiyindie
xiyiyindie   2015.04.18 16:09

你的手机版本太低了,

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!