Android 发生ANR时候在traces根本发现不了哪里错了,求解答

App里面Log日志报的ANR错:

11-09 16:46:42.739: E/ActivityManager(1309): ANR in com.dingdingpai.paybox (com.dingdingpai.paybox/com.zftpay.paybox.activity.acquirer.nearby.NearByPaySucAct)
11-09 16:46:42.739: E/ActivityManager(1309): PID: 28531
11-09 16:46:42.739: E/ActivityManager(1309): Reason: Input dispatching timed out (Waiting because the touched window has not finished processing the input events that were previously delivered to it.)
11-09 16:46:42.739: E/ActivityManager(1309): Load: 19.43 / 18.81 / 18.84
11-09 16:46:42.739: E/ActivityManager(1309): CPU usage from 36891ms to 0ms ago with 99% awake:
11-09 16:46:42.739: E/ActivityManager(1309): 86% 28531/com.dingdingpai.paybox: 82% user + 3.9% kernel / faults: 179 minor 29 major
11-09 16:46:42.739: E/ActivityManager(1309): 2% 406/adbd: 0.1% user + 1.9% kernel / faults: 1549 minor
11-09 16:46:42.739: E/ActivityManager(1309): 1.1% 213/mediaserver: 0% user + 1.1% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.9% 1695/android.process.media: 0.4% user + 0.4% kernel / faults: 1 minor
11-09 16:46:42.739: E/ActivityManager(1309): 0.8% 1309/system_server: 0.5% user + 0.2% kernel / faults: 853 minor 36 major
11-09 16:46:42.739: E/ActivityManager(1309): 0.6% 2623/mpdecision: 0% user + 0.6% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.4% 20721/kworker/0:2H: 0% user + 0.4% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.4% 1457/com.android.systemui: 0.2% user + 0.1% kernel / faults: 1467 minor 532 major
11-09 16:46:42.739: E/ActivityManager(1309): 0.3% 127/w1_bus_master1: 0% user + 0.3% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.2% 25402/com.xiaomi.gamecenter: 0% user + 0.2% kernel / faults: 4 minor 1 major
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 1784/com.android.phone: 0.1% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 2248/com.miui.securitycenter.remote: 0.1% user + 0% kernel / faults: 1244 minor 96 major
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 25659/kworker/0:3H: 0% user + 0.1% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 3/ksoftirqd/0: 0% user + 0.1% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0.1% 30244/kworker/0:2: 0% user + 0.1% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 7/kworker/u:0H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 26627/logcat: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 30827/kworker/u:4: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 155/mmcqd/0: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 200/servicemanager: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 210/surfaceflinger: 0% user + 0% kernel / faults: 1 minor 1 major
11-09 16:46:42.739: E/ActivityManager(1309): 0% 402/thermal-engine: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 13894/wpa_supplicant: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 30833/kworker/u:12: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2/kthreadd: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 33/kworker/u:1H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 222/qrngd: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 336/sdcard: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 400/location-mq: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 821/mdss_fb0: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 1741/com.sohu.inputmethod.sogou.xiaomi: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 1827/com.miui.whetstone: 0% user + 0% kernel / faults: 4 minor
11-09 16:46:42.739: E/ActivityManager(1309): 0% 1860/com.miui.home: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2138/com.miui.powerkeeper:service: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2226/com.miui.networkassistant.deamon: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2590/mcd: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 2957/sogou.mobile.explorer.hotwords: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 13881/MC_Thread: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 0% 13883/RX_Thread: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31241/migration/1: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31242/kworker/1:0: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31243/kworker/1:0H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31244/ksoftirqd/1: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31254/kworker/1:1: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31433/kworker/1:1H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31434/kworker/0:1H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31437/kworker/1:2H: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 55% TOTAL: 49% user + 6% kernel + 0% iowait + 0% softirq
11-09 16:46:42.739: E/ActivityManager(1309): CPU usage from 2259ms to 2795ms later:
11-09 16:46:42.739: E/ActivityManager(1309): 108% 28531/com.dingdingpai.paybox: 107% user + 1.7% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 16% 30950/Thread-1615: 16% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 14% 31058/Thread-1623: 14% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 14% 31096/Thread-1627: 14% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 14% 31176/Thread-1631: 12% user + 1.7% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 12% 30866/Thread-1612: 12% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 12% 31043/Thread-1621: 12% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 12% 31089/Thread-1625: 12% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 12% 31119/Thread-1629: 12% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 1.7% 28554/FileObserver: 1.7% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 7.2% 1309/system_server: 5.4% user + 1.8% kernel / faults: 1 minor
11-09 16:46:42.739: E/ActivityManager(1309): 7.2% 1338/ActivityManager: 3.6% user + 3.6% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 1.8% 213/mediaserver: 0% user + 1.8% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 1.8% 406/adbd: 0% user + 1.8% kernel / faults: 32 minor
11-09 16:46:42.739: E/ActivityManager(1309): 1.8% 406/adbd: 0% user + 1.8% kernel
11-09 16:46:42.739: E/ActivityManager(1309): +0% 31531/adbd: 0% user + 0% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 1.3% 31244/ksoftirqd/1: 0% user + 1.3% kernel
11-09 16:46:42.739: E/ActivityManager(1309): 43% TOTAL: 39% user + 3.4% kernel

然后我在traces文件里面去找PID: 28531的根本发现不了什么错

单独拉出来PID=28531的拉出来如下:

"Thread-1633" prio=5 tid=1 VMWAIT
| group="main" sCount=1 dsCount=0 obj=0x42b18010 self=0x416f4860
| sysTid=28531 nice=0 sched=0/0 cgrp=apps handle=1074823508
| state=S schedstat=( 23570772482 18096225770 108042 ) utm=1866 stm=491 core=0
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0004d663 /system/lib/libdvm.so
#04 pc 0003cd0d /system/lib/libdvm.so
#05 pc 0004f255 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*, bool)+420)
#06 pc 00001063 /system/bin/app_process
#07 pc 0000e4bb /system/lib/libc.so (__libc_init+50)
#08 pc 00000d80 /system/bin/app_process
at dalvik.system.NativeStart.run(Native Method)

但是根本不知道是哪里报错了啊,好纠结啊,用了腾讯的bugly也根本不行啊,有点崩溃,哪位大神给看下到底出错了啊,拜谢

下面是pid=28531的全部traces日志:

----- pid 28531 at 2016-11-09 16:46:39 -----
Cmd line: com.dingdingpai.paybox

JNI: CheckJNI is off; workarounds are off; pins=1; globals=498

DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0)

"Thread-1631" prio=5 tid=26 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x42b0e968 self=0x62c1cec8
| sysTid=31176 nice=0 sched=0/0 cgrp=apps handle=1656772904
| state=S schedstat=( 3633299697 1606457029 4432 ) utm=337 stm=26 core=1
at java.lang.VMThread.sleep(Native Method)
at java.lang.Thread.sleep(Thread.java:1013)
at java.lang.Thread.sleep(Thread.java:995)
at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:111)
at java.lang.Thread.run(Thread.java:841)

"Thread-1633" prio=5 tid=1 VMWAIT
| group="main" sCount=1 dsCount=0 obj=0x42b18010 self=0x416f4860
| sysTid=28531 nice=0 sched=0/0 cgrp=apps handle=1074823508
| state=S schedstat=( 23570772482 18096225770 108042 ) utm=1866 stm=491 core=0
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0004d663 /system/lib/libdvm.so
#04 pc 0003cd0d /system/lib/libdvm.so
#05 pc 0004f255 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*, bool)+420)
#06 pc 00001063 /system/bin/app_process
#07 pc 0000e4bb /system/lib/libc.so (__libc_init+50)
#08 pc 00000d80 /system/bin/app_process
at dalvik.system.NativeStart.run(Native Method)

"Thread-1629" prio=5 tid=34 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x424ef5a0 self=0x61f39890
| sysTid=31119 nice=0 sched=0/0 cgrp=apps handle=1621144376
| state=S schedstat=( 3689865326 1726587225 4851 ) utm=343 stm=25 core=1
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0005655f /system/lib/libdvm.so
#04 pc 00056b21 /system/lib/libdvm.so (dvmChangeStatus(Thread*, ThreadStatus)+34)
#05 pc 00055c81 /system/lib/libdvm.so
#06 pc 00055ce7 /system/lib/libdvm.so (dvmThreadSleep(unsigned long long, unsigned int)+62)
#07 pc 00000214 /dev/ashmem/dalvik-jit-code-cache (deleted)
at java.lang.VMThread.sleep(Native Method)
at java.lang.Thread.sleep(Thread.java:1013)
at java.lang.Thread.sleep(Thread.java:995)
at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:111)
at java.lang.Thread.run(Thread.java:841)

"Thread-1627" prio=5 tid=33 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x428e4638 self=0x61f1c890
| sysTid=31096 nice=0 sched=0/0 cgrp=apps handle=1643236584
| state=S schedstat=( 3674041640 1764672973 5137 ) utm=332 stm=35 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~318)

  • waiting to lock (a android.os.MessageQueue) held by tid=30 (Thread-1623) at android.os.Handler.enqueueMessage(Handler.java:626) at android.os.Handler.sendMessageAtTime(Handler.java:595) at android.os.Handler.sendMessageDelayed(Handler.java:566) at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530) at android.os.Handler.sendEmptyMessage(Handler.java:515) at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112) at java.lang.Thread.run(Thread.java:841)

"Thread-1625" prio=5 tid=32 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x424e1200 self=0x61ee9860
| sysTid=31089 nice=0 sched=0/0 cgrp=apps handle=1643027640
| state=S schedstat=( 3708275048 1726739259 5283 ) utm=337 stm=33 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~318)

  • waiting to lock (a android.os.MessageQueue) held by tid=30 (Thread-1623) at android.os.Handler.enqueueMessage(Handler.java:626) at android.os.Handler.sendMessageAtTime(Handler.java:595) at android.os.Handler.sendMessageDelayed(Handler.java:566) at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530) at android.os.Handler.sendEmptyMessage(Handler.java:515) at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112) at java.lang.Thread.run(Thread.java:841)

"Thread-1623" prio=5 tid=30 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x426c2158 self=0x62c222b8
| sysTid=31058 nice=0 sched=0/0 cgrp=apps handle=1656829440
| state=S schedstat=( 3700224020 1786775127 5578 ) utm=344 stm=26 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~343)
at android.os.Handler.enqueueMessage(Handler.java:626)
at android.os.Handler.sendMessageAtTime(Handler.java:595)
at android.os.Handler.sendMessageDelayed(Handler.java:566)
at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530)
at android.os.Handler.sendEmptyMessage(Handler.java:515)
at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112)
at java.lang.Thread.run(Thread.java:841)

"Thread-1621" prio=5 tid=29 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x42b37f08 self=0x62c5c1d0
| sysTid=31043 nice=0 sched=0/0 cgrp=apps handle=1621199688
| state=S schedstat=( 3730750307 1943187029 5817 ) utm=347 stm=26 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~318)

  • waiting to lock (a android.os.MessageQueue) held by tid=30 (Thread-1623) at android.os.Handler.enqueueMessage(Handler.java:626) at android.os.Handler.sendMessageAtTime(Handler.java:595) at android.os.Handler.sendMessageDelayed(Handler.java:566) at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530) at android.os.Handler.sendEmptyMessage(Handler.java:515) at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112) at java.lang.Thread.run(Thread.java:841)

"AudioRecord" prio=10 tid=28 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x424969d0 self=0x62c207d0
| sysTid=30963 nice=-16 sched=0/0 cgrp=apps handle=1621178400
| state=S schedstat=( 4357705 17892868 76 ) utm=0 stm=0 core=0
#00 pc 00021a9c /system/lib/libc.so (__futex_syscall3+12)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 00051bbd /system/lib/libmedia.so (android::AudioRecord::AudioRecordThread::threadLoop()+100)
#03 pc 0000ea4d /system/lib/libutils.so (android::Thread::_threadLoop(void*)+104)
#04 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#05 pc 0000e5ef /system/lib/libutils.so
#06 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#07 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"Thread-1615" prio=5 tid=25 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x42b044e0 self=0x62c6ae78
| sysTid=30950 nice=0 sched=0/0 cgrp=apps handle=1615996768
| state=S schedstat=( 8791873112 4710523269 7727 ) utm=851 stm=28 core=1
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0005655f /system/lib/libdvm.so
#04 pc 00056b21 /system/lib/libdvm.so (dvmChangeStatus(Thread*, ThreadStatus)+34)
#05 pc 0004c3b3 /system/lib/libdvm.so
#06 pc 0004e073 /system/lib/libdvm.so
#07 pc 00083623 /system/lib/libandroid_runtime.so
#08 pc 0008365b /system/lib/libandroid_runtime.so
#09 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#10 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#11 pc 00000214 /dev/ashmem/dalvik-jit-code-cache (deleted)
at android.media.AudioRecord.native_read_in_short_array(Native Method)
at android.media.AudioRecord.read(AudioRecord.java:663)
at com.tuner168.ble_bracelet_sim.audio.RecognizeThread.run(RecognizeThread.java:102)

"Timer-2" prio=5 tid=20 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x42b1baf8 self=0x6057c798
| sysTid=30909 nice=0 sched=0/0 cgrp=apps handle=1621135960
| state=S schedstat=( 20484377 5202030 40 ) utm=2 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.util.Timer$TimerImpl) at java.lang.Object.wait(Object.java:401) at java.util.Timer$TimerImpl.run(Timer.java:238)

"pool-3-thread-2" prio=5 tid=24 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x4292c330 self=0x6057d638
| sysTid=30867 nice=0 sched=0/0 cgrp=apps handle=1658670960
| state=S schedstat=( 32660106 13747029 65 ) utm=3 stm=0 core=1
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.VMThread) held by tid=24 (pool-3-thread-2) at java.lang.Thread.parkFor(Thread.java:1205) at sun.misc.Unsafe.park(Unsafe.java:325) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:429) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:331) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:910) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841)

"Thread-1612" prio=5 tid=23 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x42927908 self=0x62dd56c0
| sysTid=30866 nice=0 sched=0/0 cgrp=apps handle=1656995496
| state=S schedstat=( 3839698317 1806337748 7682 ) utm=350 stm=33 core=1
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:~318)

  • waiting to lock (a android.os.MessageQueue) held by tid=30 (Thread-1623) at android.os.Handler.enqueueMessage(Handler.java:626) at android.os.Handler.sendMessageAtTime(Handler.java:595) at android.os.Handler.sendMessageDelayed(Handler.java:566) at android.os.Handler.sendEmptyMessageDelayed(Handler.java:530) at android.os.Handler.sendEmptyMessage(Handler.java:515) at com.zftpay.paybox.widget.customsialog.LoadingDialogView$UpdataThread.run(LoadingDialogView.java:112) at java.lang.Thread.run(Thread.java:841)

"RefQueueWorker@org.apache.http.impl.conn.tsccm.ConnPoolByRoute@428b4460" daemon prio=5 tid=19 WAIT
| group="main" sCount=1 dsCount=0 obj=0x428b72f8 self=0x62c0a5d8
| sysTid=30852 nice=0 sched=0/0 cgrp=apps handle=1616152720
| state=S schedstat=( 305990 46979 6 ) utm=0 stm=0 core=2
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.ref.ReferenceQueue) at java.lang.Object.wait(Object.java:401) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:102) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:73) at org.apache.http.impl.conn.tsccm.RefQueueWorker.run(RefQueueWorker.java:102) at java.lang.Thread.run(Thread.java:841)

"CommunicationWithDeviceThread" prio=5 tid=21 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x427db388 self=0x60517ec0
| sysTid=28580 nice=0 sched=0/0 cgrp=apps handle=1615950296
| state=S schedstat=( 281667 0 2 ) utm=0 stm=0 core=0
#00 pc 000218d0 /system/lib/libc.so (epoll_wait+12)
#01 pc 0001081b /system/lib/libutils.so (android::Looper::pollInner(int)+98)
#02 pc 00010a45 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
#03 pc 0006bb19 /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
#04 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#05 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#06 pc 000297e0 /system/lib/libdvm.so
#07 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#08 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#09 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#10 pc 00063455 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#11 pc 00058133 /system/lib/libdvm.so
#12 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#13 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:138)
at android.os.Looper.loop(Looper.java:123)
at android.os.HandlerThread.run(HandlerThread.java:61)

"Binder_4" prio=5 tid=18 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x4266e1c8 self=0x60525cf0
| sysTid=28564 nice=0 sched=0/0 cgrp=apps handle=1616009896
| state=S schedstat=( 17960418 45819164 121 ) utm=1 stm=0 core=3
#00 pc 0002071c /system/lib/libc.so (__ioctl+8)
#01 pc 0002cf83 /system/lib/libc.so (ioctl+14)
#02 pc 0001d471 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
#03 pc 0001db7b /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
#04 pc 0001dc11 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
#05 pc 00021a89 /system/lib/libbinder.so
#06 pc 0000eabd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
#07 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#08 pc 0000e5ef /system/lib/libutils.so
#09 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#10 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"WifiManager" prio=5 tid=17 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x42573cd8 self=0x60524008
| sysTid=28561 nice=0 sched=0/0 cgrp=apps handle=1616004192
| state=S schedstat=( 17615048 65286354 145 ) utm=0 stm=1 core=0
#00 pc 000218d0 /system/lib/libc.so (epoll_wait+12)
#01 pc 0001081b /system/lib/libutils.so (android::Looper::pollInner(int)+98)
#02 pc 00010a45 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
#03 pc 0006bb19 /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
#04 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#05 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#06 pc 00000214 /dev/ashmem/dalvik-jit-code-cache (deleted)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:138)
at android.os.Looper.loop(Looper.java:123)
at android.os.HandlerThread.run(HandlerThread.java:61)

"Binder_3" prio=5 tid=16 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x425317f8 self=0x60514010
| sysTid=28559 nice=0 sched=0/0 cgrp=apps handle=1615936968
| state=S schedstat=( 17389168 46019273 138 ) utm=0 stm=1 core=3
#00 pc 0002071c /system/lib/libc.so (__ioctl+8)
#01 pc 0002cf83 /system/lib/libc.so (ioctl+14)
#02 pc 0001d471 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
#03 pc 0001db7b /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
#04 pc 0001dc11 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
#05 pc 00021a89 /system/lib/libbinder.so
#06 pc 0000eabd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
#07 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#08 pc 0000e5ef /system/lib/libutils.so
#09 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#10 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"java.lang.ProcessManager" daemon prio=5 tid=15 WAIT
| group="main" sCount=1 dsCount=0 obj=0x4252fd28 self=0x60513768
| sysTid=28557 nice=0 sched=0/0 cgrp=apps handle=1615934240
| state=S schedstat=( 5171247 879583 37 ) utm=0 stm=0 core=1
at java.lang.Object.wait(Native Method)

  • waiting on (a java.util.HashMap) at java.lang.Object.wait(Object.java:364) at java.lang.ProcessManager.waitForMoreChildren(ProcessManager.java:140) at java.lang.ProcessManager.watchChildren(ProcessManager.java:105) at java.lang.ProcessManager.access$000(ProcessManager.java:40) at java.lang.ProcessManager$1.run(ProcessManager.java:58)

"FileObserver" prio=5 tid=14 SUSPENDED
| group="main" sCount=1 dsCount=0 obj=0x424c8d30 self=0x5f551718
| sysTid=28554 nice=0 sched=0/0 cgrp=apps handle=1616506096
| state=S schedstat=( 2674007 4621617 16 ) utm=0 stm=0 core=0
at java.lang.StackTraceElement.(StackTraceElement.java:~61)
at dalvik.system.VMStack.getThreadStackTrace(Native Method)
at java.lang.Thread.getStackTrace(Thread.java:579)
at java.lang.Thread.getAllStackTraces(Thread.java:521)
at com.tencent.bugly.proguard.a.a(BUGLY:943)
at com.tencent.bugly.crashreport.crash.anr.b.a(BUGLY:395)
at com.tencent.bugly.crashreport.crash.anr.b$1.onEvent(BUGLY:462)
at android.os.FileObserver$ObserverThread.onEvent(FileObserver.java:125)
at android.os.FileObserver$ObserverThread.observe(Native Method)
at android.os.FileObserver$ObserverThread.run(FileObserver.java:88)

"BUGLY_THREAD" prio=5 tid=12 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x42491a18 self=0x60297378
| sysTid=28553 nice=0 sched=0/0 cgrp=apps handle=1599414472
| state=S schedstat=( 13214376 14080415 57 ) utm=1 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.VMThread) held by tid=12 (BUGLY_THREAD) at java.lang.Thread.parkFor(Thread.java:1205) at sun.misc.Unsafe.park(Unsafe.java:325) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2056) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1062) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:778) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841)

"BUGLY_THREAD" prio=5 tid=13 WAIT
| group="main" sCount=1 dsCount=0 obj=0x4248fea8 self=0x6028f940
| sysTid=28552 nice=0 sched=0/0 cgrp=apps handle=1613299096
| state=S schedstat=( 109396885 61975669 283 ) utm=3 stm=7 core=2
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.VMThread) held by tid=13 (BUGLY_THREAD) at java.lang.Thread.parkFor(Thread.java:1205) at sun.misc.Unsafe.park(Unsafe.java:325) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2017) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1057) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:778) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841)

"BUGLY_THREAD" prio=5 tid=11 WAIT
| group="main" sCount=1 dsCount=0 obj=0x4247f7d8 self=0x5f550d68
| sysTid=28550 nice=0 sched=0/0 cgrp=apps handle=1599410624
| state=S schedstat=( 25886336 22998661 313 ) utm=1 stm=1 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.VMThread) held by tid=11 (BUGLY_THREAD) at java.lang.Thread.parkFor(Thread.java:1205) at sun.misc.Unsafe.park(Unsafe.java:325) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2017) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1057) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:778) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841)

"Binder_2" prio=5 tid=10 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x4244dec0 self=0x5f4d4008
| sysTid=28545 nice=0 sched=0/0 cgrp=apps handle=1596783464
| state=S schedstat=( 19653653 26620362 131 ) utm=1 stm=0 core=3
#00 pc 0002071c /system/lib/libc.so (__ioctl+8)
#01 pc 0002cf83 /system/lib/libc.so (ioctl+14)
#02 pc 0001d471 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
#03 pc 0001db7b /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
#04 pc 0001dc11 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
#05 pc 00021a89 /system/lib/libbinder.so
#06 pc 0000eabd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
#07 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#08 pc 0000e5ef /system/lib/libutils.so
#09 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#10 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"Binder_1" prio=5 tid=9 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x4244dd20 self=0x5f2cf250
| sysTid=28544 nice=0 sched=0/0 cgrp=apps handle=1596780552
| state=S schedstat=( 17057920 52076197 126 ) utm=1 stm=0 core=3
#00 pc 0002071c /system/lib/libc.so (__ioctl+8)
#01 pc 0002cf83 /system/lib/libc.so (ioctl+14)
#02 pc 0001d471 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
#03 pc 0001db7b /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
#04 pc 0001dc11 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
#05 pc 00021a89 /system/lib/libbinder.so
#06 pc 0000eabd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
#07 pc 0004e485 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#08 pc 0000e5ef /system/lib/libutils.so
#09 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#10 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"FinalizerWatchdogDaemon" daemon prio=5 tid=8 WAIT
| group="system" sCount=1 dsCount=0 obj=0x424487f0 self=0x5bde28b0
| sysTid=28541 nice=0 sched=0/0 cgrp=apps handle=1541287176
| state=S schedstat=( 451876 609218 14 ) utm=0 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.Daemons$FinalizerWatchdogDaemon) at java.lang.Object.wait(Object.java:364) at java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:230) at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:207) at java.lang.Thread.run(Thread.java:841)

"FinalizerDaemon" daemon prio=5 tid=7 WAIT
| group="system" sCount=1 dsCount=0 obj=0x42448640 self=0x5bde2008
| sysTid=28540 nice=0 sched=0/0 cgrp=apps handle=1541284960
| state=S schedstat=( 14235421 8436818 47 ) utm=1 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on (a java.lang.ref.ReferenceQueue) at java.lang.Object.wait(Object.java:401) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:102) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:73) at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170) at java.lang.Thread.run(Thread.java:841)

"ReferenceQueueDaemon" daemon prio=5 tid=6 WAIT
| group="system" sCount=1 dsCount=0 obj=0x424484d8 self=0x5ec14460
| sysTid=28539 nice=0 sched=0/0 cgrp=apps handle=1589725368
| state=S schedstat=( 2807867 4756510 18 ) utm=0 stm=0 core=0
at java.lang.Object.wait(Native Method)

  • waiting on at java.lang.Object.wait(Object.java:364) at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:130) at java.lang.Thread.run(Thread.java:841)

"Compiler" daemon prio=5 tid=5 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x424483e8 self=0x5ec14008
| sysTid=28538 nice=0 sched=0/0 cgrp=apps handle=1541294864
| state=S schedstat=( 374628429 196207032 2486 ) utm=19 stm=18 core=0
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 00076c4b /system/lib/libdvm.so
#04 pc 00057815 /system/lib/libdvm.so
#05 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#06 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=4 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x42448300 self=0x58b35830
| sysTid=28537 nice=0 sched=0/0 cgrp=apps handle=1487448632
| state=S schedstat=( 2560678 3524426 20 ) utm=0 stm=0 core=0
#00 pc 0002086c /system/lib/libc.so (select+20)
#01 pc 0006433f /system/lib/libdvm.so
#02 pc 00066e91 /system/lib/libdvm.so
#03 pc 00057815 /system/lib/libdvm.so
#04 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#05 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=3 RUNNABLE
| group="system" sCount=0 dsCount=0 obj=0x42448208 self=0x5bdde338
| sysTid=28536 nice=0 sched=0/0 cgrp=apps handle=1589714456
| state=R schedstat=( 21778283 13446303 35 ) utm=1 stm=1 core=1
at dalvik.system.NativeStart.run(Native Method)

"GC" daemon prio=5 tid=2 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x42448128 self=0x58b37830
| sysTid=28535 nice=0 sched=0/0 cgrp=apps handle=1541266408
| state=S schedstat=( 290835661 1780590841 14137 ) utm=2 stm=27 core=0
#00 pc 00021a98 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f034 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f094 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 0007560f /system/lib/libdvm.so
#04 pc 00057815 /system/lib/libdvm.so
#05 pc 0000d240 /system/lib/libc.so (__thread_entry+72)
#06 pc 0000d3d8 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)

NATIVE THREADS:
"gdingpai.paybox" sysTid=30946 nice=0 sched=0/0 cgrp=apps
| state=S schedstat=( 9895416 257812 7 ) utm=0 stm=0 core=0

"gdingpai.paybox" sysTid=30947 nice=0 sched=0/0 cgrp=apps
| state=S schedstat=( 49167 106614 2 ) utm=0 stm=0 core=0

"gdingpai.paybox" sysTid=30948 nice=0 sched=0/0 cgrp=apps
| state=S schedstat=( 60885 0 2 ) utm=0 stm=0 core=0

"gdingpai.paybox" sysTid=30949 nice=0 sched=0/0 cgrp=apps
| state=S schedstat=( 43230 9980989 3 ) utm=0 stm=0 core=0

"GL updater" sysTid=31132 nice=-10 sched=0/0 cgrp=apps
| state=S schedstat=( 364636 305104 4 ) utm=0 stm=0 core=1

----- end 28531 -----

3个回答

图片说明

Fingualin
夜空泪 我已经找到问题了,不是这里的问题,不过也是多开了几个线程跟定时器,然后关闭的时候没注意,不过还是谢谢啊
接近 3 年之前 回复

11-09 16:46:42.739: E/ActivityManager(1309): Reason: Input dispatching timed out (Waiting because the touched window has not finished processing the input events that were previously delivered to it.)

http://www.cnblogs.com/xinye/p/3534013.html

代码写得不对呗,90%是这样的,JS 或android 里哪个写错了。

Coder_Yi
Coder_Yi 说了跟没说一样
9 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
android 系统中/data/anr/下的traces.txt 文件可以通过代码删除吗?
-
关于android ANR错误,求助?
-
阿里面试问到的几道题
-
android播放器加载时候按返回导致ANR异常,求大神
-
android开发银联支付在小米4c上直接ANR异常,别的手机没事,什么原因???
-
android 观察你ANR 和 内存泄漏有哪些行之有效的工具?
-
android程序,eclipse没报错,但是运行会意外停止
-
viewPager的setCurrentItem()造成ANR异常
-
一个Monkey测出来的ANR的问题
-
如何理解在主线程进行读写操作而导致ANR?
-
Android:Unable to open stack file
-
android sqlite数据写入数据的时候,主界面会卡主,怎么解决?
-
Android页面跳转出现卡顿或者ANR,可以从哪些方面进行优化?
-
当进度对话框和后台线程活动的时候如何处理屏幕的方向的变化?
-
Android的UI线程是不断循环的吗?
-
java线程问题——使用线程解决anr问题
-
应用出现anr或者卡顿不流畅的情况,有什么优化经验可传授
-
一个关于上传录音的问题
-
程序员实用工具网站
目录 1、搜索引擎 2、PPT 3、图片操作 4、文件共享 5、应届生招聘 6、程序员面试题库 7、办公、开发软件 8、高清图片、视频素材网站 9、项目开源 10、在线工具宝典大全 程序员开发需要具备良好的信息检索能力,为了备忘(收藏夹真是满了),将开发过程中常用的网站进行整理。 1、搜索引擎 1.1、秘迹搜索 一款无敌有良心、无敌安全的搜索引擎,不会收集私人信息,保...
我花了一夜用数据结构给女朋友写个H5走迷宫游戏
起因 又到深夜了,我按照以往在csdn和公众号写着数据结构!这占用了我大量的时间!我的超越妹妹严重缺乏陪伴而 怨气满满! 而女朋友时常埋怨,认为数据结构这么抽象难懂的东西没啥作用,常会问道:天天写这玩意,有啥作用。而我答道:能干事情多了,比如写个迷宫小游戏啥的! 当我码完字准备睡觉时:写不好别睡觉! 分析 如果用数据结构与算法造出东西来呢? ...
别再翻了,面试二叉树看这 11 个就够了~
写在前边 数据结构与算法: 不知道你有没有这种困惑,虽然刷了很多算法题,当我去面试的时候,面试官让你手写一个算法,可能你对此算法很熟悉,知道实现思路,但是总是不知道该在什么地方写,而且很多边界条件想不全面,一紧张,代码写的乱七八糟。如果遇到没有做过的算法题,思路也不知道从何寻找。面试吃了亏之后,我就慢慢的做出总结,开始分类的把数据结构所有的题型和解题思路每周刷题做出的系统性总结写在了 Github...
让程序员崩溃的瞬间(非程序员勿入)
今天给大家带来点快乐,程序员才能看懂。 来源:https://zhuanlan.zhihu.com/p/47066521 1. 公司实习生找 Bug 2.在调试时,将断点设置在错误的位置 3.当我有一个很棒的调试想法时 4.偶然间看到自己多年前写的代码 5.当我第一次启动我的单元测试时 ...
接私活必备的 10 个开源项目!
点击蓝色“GitHubDaily”关注我加个“星标”,每天下午 18:35,带你逛 GitHub!作者 | SevDot来源 | http://1t.click/VE8W...
GitHub开源的10个超棒后台管理面板
目录 1、AdminLTE 2、vue-Element-Admin 3、tabler 4、Gentelella 5、ng2-admin 6、ant-design-pro 7、blur-admin 8、iview-admin 9、material-dashboard 10、layui 项目开发中后台管理平台必不可少,但是从零搭建一套多样化后台管理并不容易,目前有许多开源、免费、...
100 个网络基础知识普及,看完成半个网络高手
欢迎添加华为云小助手微信(微信号:HWCloud002或HWCloud003),输入关键字“加群”,加入华为云线上技术讨论群;输入关键字“最新活动”,获取华为云最新特惠促销。华为云诸多技术大咖、特惠活动等你来撩! 1)什么是链接? 链接是指两个设备之间的连接。它包括用于一个设备能够与另一个设备通信的电缆类型和协议。 2)OSI 参考模型的层次是什么? 有 7 个 OSI 层:物理...
VS CODE远程开发入门
在我们办公室,通常配置两台电脑,一台 Windows 主机,主要用于办公、即时通讯,一台 Linux 主机,用于开发。一般开发人员习惯用 Windows 系统下的工具,比如 Source Insight ,但代码需要在 Linux 下编译。这样就需要 Windows 和 Linux 之间协作,通常的做法是在 Linux 下安装 samba 服务,通过 Windows 共享访问。今天看到一篇文章,...
中国最顶级的一批程序员,从首富到首负!
过去的20年是程序员快意恩仇的江湖时代通过代码,实现梦想和财富有人痴迷于技术,做出一夜成名的产品有人将技术变现,创办企业成功上市这些早一代的程序员们创造的奇迹引发了一浪高...
为什么面向对象糟透了?
又是周末,编程语言“三巨头”Java, Lisp 和C语言在Hello World咖啡馆聚会。服务员送来咖啡的同时还带来了一张今天的报纸, 三人寒暄了几句, C语言翻开了...
分享靠写代码赚钱的一些门路
作者 mezod,译者 josephchang10如今,通过自己的代码去赚钱变得越来越简单,不过对很多人来说依然还是很难,因为他们不知道有哪些门路。今天给大家分享一个精彩...
对计算机专业来说学历真的重要吗?
我本科学校是渣渣二本,研究生学校是985,现在毕业五年,校招笔试、面试,社招面试参加了两年了,就我个人的经历来说下这个问题。 这篇文章很长,但绝对是精华,相信我,读完以后,你会知道学历不好的解决方案,记得帮我点赞哦。 先说结论,无论赞不赞同,它本质就是这样:对于技术类工作而言,学历五年以内非常重要,但有办法弥补。五年以后,不重要。 目录: 张雪峰讲述的事实 我看到的事实 为什么会这样 ...
世界上最好的学习法:费曼学习法
你是否曾幻想读一遍书就记住所有的内容?是否想学习完一项技能就马上达到巅峰水平?除非你是天才,不然这是不可能的。对于大多数的普通人来说,可以通过笨办法(死记硬背)来达到学习的目的,但效率低下。当然,也可以通过优秀的学习法来进行学习,比如今天讲的“费曼学习法”,可以将你的学习效率极大的提高。 费曼学习法是由加拿大物理学家费曼所发明的一种高效的学习方法,费曼本身是一个天才,13岁自学微积分,24岁加入曼...
学Linux到底学什么
来源:公众号【编程珠玑】 作者:守望先生 网站:https://www.yanbinghu.com/2019/09/25/14472.html 前言 ​我们常常听到很多人说要学学Linux或者被人告知说应该学学Linux,那么学Linux到底要学什么? 为什么要学Linux 在回答学什么之前,我们先看看为什么要学。首先我们需要认识到的是,很多服务器使用的是Linux系统,而作为服务器应...
深入理解C语言指针
一、指针的概念 要知道指针的概念,要先了解变量在内存中如何存储的。在存储时,内存被分为一块一块的。每一块都有一个特有的编号。而这个编号可以暂时理解为指针,就像酒店的门牌号一样。 1.1、变量和地址 先写一段简单的代码: void main(){ int x = 10, int y = 20; } 这段代码非常简单,就是两个变量的声明,分别赋值了 10、20。我们把内存当做一个酒店,而每个房间就...
C语言实现推箱子游戏
很早就想过做点小游戏了,但是一直没有机会动手。今天闲来无事,动起手来。过程还是蛮顺利的,代码也不是非常难。今天给大家分享一下~ 一、介绍 开发语言:C语言 开发工具:Dev-C++ 5.11 日期:2019年9月28日 作者:ZackSock 也不说太多多余的话了,先看一下效果图: 游戏中的人物、箱子、墙壁、球都是字符构成的。通过wasd键移动,规则的话就是推箱子的规则,也就不多说了。 二、代...
面试官:兄弟,说说基本类型和包装类型的区别吧
Java 的每个基本类型都对应了一个包装类型,比如说 int 的包装类型为 Integer,double 的包装类型为 Double。基本类型和包装类型的区别主要有以下 4 点。
8000字干货:那些很厉害的人是怎么构建知识体系的
本文约8000字,正常阅读需要15~20分钟。读完本文可以获得如下收益: 分辨知识和知识体系的差别 理解如何用八大问发现知识的连接点; 掌握致用类知识体系的构建方法; 能够应用甜蜜区模型找到特定领域来构建知识体系。 1. 知识体系?有必要吗? 小张准备通过跑步锻炼身体,可因为之前听说过小腿变粗、膝盖受伤、猝死等等与跑步有关的意外状况,有点担心自己会掉进各种坑里,就在微信上问朋友圈一直晒跑步...
Android完整知识体系路线(菜鸟-资深-大牛必进之路)
前言 移动研发火热不停,越来越多人开始学习Android 开发。但很多人感觉入门容易成长很难,对未来比较迷茫,不知道自己技能该怎么提升,到达下一阶段需要补充哪些内容。市面上也多是谈论知识图谱,缺少体系和成长节奏感,特此编写一份 Android 研发进阶之路,希望能对大家有所帮助。 由于篇幅过长,有些问题的答案并未放在文章当中,不过我都整理成了一个文档归纳好了,请阅读到文末领取~ Ja...
网易云音乐你喜欢吗?你自己也可以做一个
【公众号回复 “1024”,免费领取程序员赚钱实操经验】今天我章鱼猫给大家带来的这个开源项目,估计很多喜欢听音乐的朋友都会喜欢。就目前来讲,很多人对这款音乐 App 都抱...
C语言这么厉害,它自身又是用什么语言写的?
这是来自我的星球的一个提问:“C语言本身用什么语言写的?”换个角度来问,其实是:C语言在运行之前,得编译才行,那C语言的编译器从哪里来? 用什么语言来写的?如果是用C语...
认真推荐几个不错的技术公众号
十一假期,好好休息休息今天给大家推荐几个不同技术领域的公众号,涉及服务端后台、前端、Python、职场等各领域。这些号的无论从文章质量,还是从留言互动上,都是值得大家关注...
相关热词 c#线程阻塞的方法 c#获取文件所在路径 c#mysql添加删除 c# 分段处理 大文件 c#list 头加元素 c# textbox密码 c# 循环 时间间隔 c#判断访问设备 c# sso开源框 c#dataset增加列