|
|
Download 'Android Studio' from Google. It will install the adb command. Plug your phone into your PC with a USB cable (this works on both Windows and Linux). Now use a terminal and type "adb logcat'. That will give you a huge amount of debug information about what is going on with Bluetooth and Wifi. If you are lucky there will be obvious error messages telling you what is wrong.
Random output from my phone
- jonsmirl@ares:~$ adb logcat
- * daemon not running. starting it now on port 5037 *
- * daemon started successfully *
- --------- beginning of crash
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: FATAL EXCEPTION: pool-2-thread-1
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: Process: com.adups.fota, PID: 8086
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.adups.fota/.ReportIntentService }: app is in background uid UidRecord{e5d325e u0a39 CEM bg:+13m27s991ms idle change:idle procs:1 seq(6,6,6)}
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1522)
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: at android.app.ContextImpl.startService(ContextImpl.java:1478)
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: at android.content.ContextWrapper.startService(ContextWrapper.java:650)
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: at com.adups.fota.update.d.b$3$2.a(ReportManager.java:295)
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: at com.adups.fota.update.d.b$2.run(ReportManager.java:107)
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
- 07-10 15:26:37.599 8086 8131 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: FATAL EXCEPTION: main
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: Process: com.adups.fota, PID: 17402
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: java.lang.RuntimeException: Unable to stop service com.adups.fota.ht.internal.ht.cat.CatService@9de869e: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.adups.fota/.ht.internal.ht.cat.CatService }: app is in background uid UidRecord{6700b1d u0a39 SVC bg:+1m0s9ms idle change:idle procs:1 seq(0,0,0)}
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: at android.app.ActivityThread.handleStopService(ActivityThread.java:3549)
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: at android.app.ActivityThread.-wrap26(Unknown Source:0)
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1721)
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6523)
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
- 07-11 02:32:44.939 17402 17402 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
Copy the Code |
|