本人是小白 刚开始学习安卓开发。使用AS新建一个空白项目后,点击预览xml文件想预览下发现是这样子。
18:13 Indents detection disabled
Undo Code Style Settings
19:03 Emulator: emulator: ERROR: AdbHostServer.cpp:102: Unable to connect to adb daemon on port: 5037
19:03 Emulator: Warning: restoring GLES1 context from snapshot. App may need reloading.
19:03 Emulator: emulator: ERROR: AdbHostServer.cpp:102: Unable to connect to adb daemon on port: 5037
19:03 Emulator: [26124:18424:0214/190337.320:ERROR:ssl_client_socket_impl.cc(1050)] handshake failed; returned -1, SSL error code 1, net_error -101
19:03 Emulator: [26124:18424:0214/190337.321:ERROR:ssl_client_socket_impl.cc(1050)] handshake failed; returned -1, SSL error code 1, net_error -101
19:03 Emulator: [26124:18424:0214/190337.360:ERROR:ssl_client_socket_impl.cc(1050)] handshake failed; returned -1, SSL error code 1, net_error -101
19:03 Emulator: emulator: INFO: QtLogger.cpp:68: Critical: Uncaught ReferenceError: $ is not defined (qrc:/html/js/location-loader.js:1, (null))
19:03 Emulator: emulator: INFO: QtLogger.cpp:68: Critical: Uncaught ReferenceError: $ is not defined (qrc:/html/js/location-loader.js:1, (null))
19:03 Emulator: Process finished with exit code 0
以上是红色报错部分