09-14 17:07:18.140: E/AndroidRuntime(2381): at java.lang.Thread.run(Thread.java:856)
错误原因:网络访问有问题 主要是没网
Failed to install *.apk on device *: timeout
错误原因:手机拔下来再插进去 完美解决,什么改ddms的延长时间都是乱扯 看看logcat有没有不停的输出,么有的话就重插,那个浅绿色的logcat
09-14 17:10:21.311: ERROR/GTalkService(368): connectionClosed: no XMPPConnection - That's strange!
09-14 17:10:22.889: ERROR/dalvikvm(5242): ERROR: unrecognized magic number (50 4b 03 04)
09-14 17:10:22.889: ERROR/dalvikvm(5242): Error with header for /data/data/com.cleanmaster.mguard_cn/app_dex/classes2_ui.dex
09-14 17:10:23.415: ERROR/Mms/Txn(5297): Download manager:SIMInfo is null for slot 1
09-14 17:10:23.910: ERROR/dalvikvm(5242): Could not find class 'android.app.AppOpsManager', referenced from method com.ijinshan.screensaverold.b.c.a
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): FATAL EXCEPTION: main
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): java.lang.NullPointerException
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at com.jarvis.MyView.PullableListView.canPullDown(PullableListView.java:33)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at com.jarvis.MyView.PullToRefreshLayout.dispatchTouchEvent(PullToRefreshLayout.java:374)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2019)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1754)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2019)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1754)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2019)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1754)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2019)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1754)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2019)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1754)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2019)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1754)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2019)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1754)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1923)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1382)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.app.Activity.dispatchTouchEvent(Activity.java:2378)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1871)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.View.dispatchPointerEvent(View.java:5733)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3045)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2607)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java:900)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2616)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.os.Handler.dispatchMessage(Handler.java:99)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.os.Looper.loop(Looper.java:137)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at android.app.ActivityThread.main(ActivityThread.java:4503)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at java.lang.reflect.Method.invokeNative(Native Method)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at java.lang.reflect.Method.invoke(Method.java:511)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
09-14 17:10:24.648: ERROR/AndroidRuntime(4819): at dalvik.system.NativeStart.main(Native Method)
09-14 17:10:25.157: ERROR/AEE/LIBAEE(236): read_cmdline:com.example.nongmin
09-14 17:10:25.351: ERROR/AuthorizationBluetoothService(368): Proximity feature is not enabled.
09-14 17:10:26.280: ERROR/AuthorizationBluetoothService(368): Proximity feature is not enabled.
09-14 17:10:28.076: ERROR/AuthorizationBluetoothService(368): Proximity feature is not enabled.
09-14 17:10:34.055: ERROR/AuthorizationBluetoothService(368): Proximity feature is not enabled.
09-14 17:10:34.470: ERROR/dalvikvm(5413): Could not find class 'android.telephony.CellInfo', referenced from method com.google.android.location.os.real.ad.onCellInfoChanged
09-14 17:10:34.584: ERROR/dalvikvm(5413): Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.util.e.a
09-14 17:10:34.908: ERROR/CellLocation(5413): create GsmCellLocation
09-14 17:10:36.048: ERROR/WifiStateMachine(236): set suspend optimizations failed!
09-14 17:10:36.112: ERROR/CellLocation(5413): create GsmCellLocation
09-14 17:10:36.207: ERROR/CellLocation(5413): create GsmCellLocation
09-14 17:10:36.275: ERROR/CellLocation(5413): create GsmCellLocation
09-14 17:10:40.237: ERROR/ATCIJ(4687): Couldn't find 'atci-service-framework' socket after 16 times, continuing to retry silently
这个错误出现在这种情况下,我测试数据库里面只有7条数据,我每次加载的时候显示20条,
如果是加载更多的情况下,让他定位在前面的第十条,然后继续拖动,可是如果你本身就没有十条怎么办呢,就报了这个错误
这个时候只需要把加载更多定位在当前的位置就行了,如何设置当前的位置,需要在前面记录下来,或者用你传递的参数构建当前的位置也是可以的