先把问题记录下来
12-18 17:46:43.817 13582-13619/com.test.dou I/System.out: -------------Exception-------------
12-18 17:46:43.817 13582-13619/com.test.dou W/System.err: java.lang.SecurityException: WifiService: Neither user 10095 nor current process has android.permission.ACCESS_WIFI_STATE.
12-18 17:46:43.818 13582-13619/com.test.dou W/System.err: at android.os.Parcel.readException(Parcel.java:1546)
12-18 17:46:43.818 13582-13619/com.test.dou W/System.err: at android.os.Parcel.readException(Parcel.java:1499)
12-18 17:46:43.818 13582-13619/com.test.dou W/System.err: at android.net.wifi.IWifiManager$Stub$Proxy.getConnectionInfo(IWifiManager.java:1098)
12-18 17:46:43.818 13582-13619/com.test.dou W/System.err: at android.net.wifi.WifiManager.getConnectionInfo(WifiManager.java:1204)
12-18 17:46:43.818 13582-13619/com.test.dou W/System.err: at com.test.dou.Settings.isWifiConnect(Settings.java:282)
12-18 17:46:43.818 13582-13619/com.test.dou W/System.err: at com.test.dou.DOUC:\\Program Files (x86).C:\\Program Files (x86)03_TencentVideo(DOUC:\\Program Files (x86).java:160)
12-18 17:46:43.818 13582-13619/com.test.dou W/System.err: at java.lang.reflect.Method.invoke(Native Method)
12-18 17:46:43.818 13582-13619/com.test.dou W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
12-18 17:46:43.818 13582-13619/com.test.dou W/System.err: at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at android.support.C:\\Program Files (x86).internal.runner.junit4.statement.RunBefores.evaluate(RunBefores.java:80)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at android.support.C:\\Program Files (x86).runner.AndroidJUnit4.run(AndroidJUnit4.java:101)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.Suite.runChild(Suite.java:128)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.Suite.runChild(Suite.java:27)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
12-18 17:46:43.819 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
12-18 17:46:43.820 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
12-18 17:46:43.820 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
12-18 17:46:43.820 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
12-18 17:46:43.820 13582-13619/com.test.dou W/System.err: at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
12-18 17:46:43.820 13582-13619/com.test.dou W/System.err: at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
12-18 17:46:43.820 13582-13619/com.test.dou W/System.err: at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
12-18 17:46:43.820 13582-13619/com.test.dou W/System.err: at android.support.C:\\Program Files (x86).internal.runner.C:\\Program Files (x86)Executor.execute(C:\\Program Files (x86)Executor.java:56)
12-18 17:46:43.820 13582-13619/com.test.dou W/System.err: at android.support.C:\\Program Files (x86).runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:384)
12-18 17:46:43.820 13582-13619/com.test.dou W/System.err: at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1869)
12-18 17:46:44.836 13582-13619/com.test.dou W/InteractionController: runAndwaitForEvents timed out waiting for events
12-18 17:46:44.836 13582-13619/com.test.dou I/System.out: need C:\\Program Files (x86) time is 1791472