不确定发生了什么。当我在Intellij中启动调试器(使用Genymotion模拟器)时,在主活动开始之前我遇到以下错误:
09-28 07:49:27.487 531-574/system_process E/WifiStateMachine﹕ Failed to reload STA firmware java.lang.IllegalArgumentException: command '1 softap fwreload eth1 STA' failed with '501 1 SoftAP command has failed'
09-28 07:49:27.495 531-574/system_process E/WifiStateMachine﹕ Unable to change interface settings: java.lang.IllegalStateException: command '4 interface ipv6privacyextensions eth1 enable' failed with '400 4 Failed to set ipv6 privacy extensions (No such file or directory)'
09-28 07:49:28.595 531-574/system_process E/WifiConfigStore﹕ Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
09-28 07:49:28.979 531-531/system_process A/NetworkManagementService﹕ problem enabling bandwidth controls
com.android.server.NativeDaemonConnector$NativeDaemonFailureException: command '5 bandwidth enable' failed with '400 5 Bandwidth command failed'
at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:391)
at com.android.server.NativeDaemonConnector.executeForList(NativeDaemonConnector.java:327)
at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:292)
at com.android.server.NetworkManagementService.prepareNativeDaemon(NetworkManagementService.java:348)
at com.android.server.NetworkManagementService.systemReady(NetworkManagementService.java:224)
at com.android.server.ServerThread$2.run(SystemServer.java:972)
at com.android.server.am.ActivityManagerService.systemReady(ActivityManagerService.java:9363)
at com.android.server.ServerThread.initAndLoop(SystemServer.java:949)
at com.android.server.SystemServer.main(SystemServer.java:1190)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
以及
libcore.io.BlockGuardOs@526ef778
libcore.io.ErrnoException: stat failed: ENOENT (No such file or directory)
我的应用程序中没有网络代码,也没有在我的代码中创建任何文件,除了SQLite数据库,甚至在主活动中都没有访问。我完全迷失了...对这些错误可能意味着什么的任何建议?当我正常运行应用程序时,它启动正常(它可能只是通过/忽略异常)。
我最近做的就是添加一个自定义首选项,但即使我回滚了更改,调试器仍会遇到错误。