找回密码
 立即注册
搜索

突然无法调试

1
回复
4171
查看
[复制链接]

2

主题

3

帖子

25

积分

 楼主| 2018-5-16 18:20:46 显示全部楼层 |阅读模式
以前还能正常调试,今天突然不能了,表现为手机端能安装并打开快应用,但pc端不弹出chrome devtools,以下是调试控制台的输出,请问是怎么了? Hash: cd907c21903acc17ef7a Version: webpack 3.11.0 Time: 1313ms Asset Size Chunks Chunk Names build\msite\msite.js 25.5 kB 0 [emitted] build\msite\msite.js build\card\videoinfo\videoinfo.js 27.5 kB 1 [emitted] build\card\videoinfo\videoinfo.js build\app.js 14 kB 2 [emitted] build\app.js [0] ./src/app.ux 1.35 kB {2} [built] [1] c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-script-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-manifest-loader.js?path=e:/jobs/mgtv/hap/quickmgtv/src/app.ux!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/babel-loader/lib?presets[]=c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/babel-preset-es2015&presets=c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/babel-preset-es2015&comments=false!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-fragment-loader.js?index=0&type=scripts!./src/app.ux 1.61 kB {2} [built] [2] ./src/card/videoinfo/videoinfo.wux 2.48 kB {1} [built] [3] c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-json-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-template-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-fragment-loader.js?index=0&type=templates!./src/card/videoinfo/videoinfo.wux 1.81 kB {1} [built] [4] c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-json-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-style-loader.js?index=0&type=styles&resourcePath=e:/jobs/mgtv/hap/quickmgtv/src/card/videoinfo/videoinfo.wux!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-fragment-loader.js?index=0&type=styles&resourcePath=e:/jobs/mgtv/hap/quickmgtv/src/card/videoinfo/videoinfo.wux!./src/card/videoinfo/videoinfo.wux 1.44 kB {1} [built] [1 warning] [5] c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-script-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/babel-loader/lib?presets[]=c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/babel-preset-es2015&presets=c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/babel-preset-es2015&comments=false!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-fragment-loader.js?index=0&type=scripts!./src/card/videoinfo/videoinfo.wux 1.55 kB {1} [built] [6] ./src/msite/msite.ux 2.42 kB {0} [built] [7] c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-json-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-template-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-fragment-loader.js?index=0&type=templates!./src/msite/msite.ux 518 bytes {0} [built] [8] c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-json-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-style-loader.js?index=0&type=styles&resourcePath=e:/jobs/mgtv/hap/quickmgtv/src/msite/msite.ux!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-fragment-loader.js?index=0&type=styles&resourcePath=e:/jobs/mgtv/hap/quickmgtv/src/msite/msite.ux!./src/msite/msite.ux 172 bytes {0} [built] [9] c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-script-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/babel-loader/lib?presets[]=c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/babel-preset-es2015&presets=c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/babel-preset-es2015&comments=false!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-fragment-loader.js?index=0&type=scripts!./src/msite/msite.ux 3.85 kB {0} [built] WARNING in c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-json-loader.js!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-style-loader.js?index=0&type=styles&resourcePath=e:/jobs/mgtv/hap/quickmgtv/src/card/videoinfo/videoinfo.wux!c:/Program Files/Huawei FastApp IDE/resources/app/extensions/deveco-debug/node_modules.asar.unpacked/fa-toolkit/lib/fa-fragment-loader.js?index=0&type=styles&resourcePath=e:/jobs/mgtv/hap/quickmgtv/src/card/videoinfo/videoinfo.wux!./src/card/videoinfo/videoinfo.wux (Emitted value instead of an instance of Error) NOTE: 属性`border` 的值 `1px solid black` 存在问题: 颜色值 `black` 转换为 `#000000` @ ./src/card/videoinfo/videoinfo.wux 2:18-685 WARN: manifest.json文件中添加未声明的features: system.router, system.webview ### App Loader ### 编译完成, 生成压缩包 ### App Loader ### 压缩包加签名 ### App Loader ### 删除压缩包 Exit code: 0 kill inspector process : 4364 success Start debug server in http://127.0.0.1:8088 Wait until debug server is available: http://127.0.0.1:8088 [FastAppDebugServer] start debugger server at http://127.0.0.1:8088 The websocket address for native is ws://127.0.0.1:8088/debugProxy/native FastApp Debug Server Info: start debugger server at http://127.0.0.1:8088 The websocket address for native is ws://127.0.0.1:8088/debugProxy/native Do reverse port forward: PC:8088 -> Phone:8088 true "c:\Program Files\Huawei FastApp IDE\resources\app\extensions\deveco-debug\lib\toolkit\adb.exe" -s aace953 reverse tcp:8088 tcp:8088 error: closed Exit code: 0 Run FastApp on Android Device: aace953 appName is quickmgtv force-stop result : "c:\Program Files\Huawei FastApp IDE\resources\app\extensions\deveco-debug\lib\toolkit\adb.exe" -s aace953 push "e:\jobs\mgtv\hap\quickmgtv\dist\quickmgtv.rpk" /data/local/tmp/ push result : [ 95%] /data/local/tmp/quickmgtv.rpk [100%] /data/local/tmp/quickmgtv.rpk e:\jobs\mgtv\hap\quickmgtv\dist\quickmgtv.rpk: 1 file pushed. 2.8 MB/s (68804 bytes in 0.023s) "c:\Program Files\Huawei FastApp IDE\resources\app\extensions\deveco-debug\lib\toolkit\adb.exe" -s aace953 shell am start --es rpkpath file:///data/local/tmp/quickmgtv.rpk --ei debugmode 2 --es uri card/videoinfo --es params %7B%7D com.huawei.fastapp.dev/com.huawei.fastapp.app.WidgetLoaderActivity start result : Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.huawei.fastapp.dev/com.huawei.fastapp.app.WidgetLoaderActivity (has extras) } Exit code: 0 Start debug inspector server Android device displaysize is 1080x1920! If device is Mate10 or Mate10 pro, make sure the DPI is WQHD!! Set custom display size to inspector server success! [100%] data/local/tmp/minitouch c:\Program Files\Huawei FastApp IDE\resources\app\extensions\deveco-debug\lib\inspect\bin\armeabi-v7a\minitouch: 1 file pushed. 1.9 MB/s (34316 bytes in 0.018s) [ 18%] data/local/tmp/minicap [ 36%] data/local/tmp/minicap [ 54%] data/local/tmp/minicap [ 72%] data/local/tmp/minicap [ 90%] data/local/tmp/minicap [100%] data/local/tmp/minicap c:\Program Files\Huawei FastApp IDE\resources\app\extensions\deveco-debug\lib\inspect\bin\armeabi-v7a\minicap: 1 file pushed. 3.9 MB/s (362396 bytes in 0.089s) [100%] data/local/tmp/minicap.so c:\Program Files\Huawei FastApp IDE\resources\app\extensions\deveco-debug\lib\inspect\libs\android-19\armeabi-v7a\minicap.so: 1 file pushed. 2.6 MB/s (13488 bytes in 0.005s) Push inpsect part to device success! PID: 22944 INFO: Using projection 1080x1920@360x640/0 INFO: (external/MY_minicap/src/minicap_19.cpp:246) Creating SurfaceComposerClient INFO: (external/MY_minicap/src/minicap_19.cpp:249) Performing SurfaceComposerClient init check INFO: (external/MY_minicap/src/minicap_19.cpp:256) Creating virtual display INFO: (external/MY_minicap/src/minicap_19.cpp:262) Creating buffer queue INFO: (external/MY_minicap/src/minicap_19.cpp:269) Creating CPU consumer INFO: (external/MY_minicap/src/minicap_19.cpp:278) Creating frame waiter INFO: (external/MY_minicap/src/minicap_19.cpp:282) Publishing virtual display INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 6268932 bytes for JPG encoder Device start up capture success! INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 6268932 bytes for JPG encoder Do adb forward to port 1717 success Listening on port 9002 Start up inpsect webserver success! Waiting for device connecting to debug server According to app size, you need to wait for 60 seconds at most Note: device /dev/input/mice is not supported by libevdev Type B touch device synaptics_dsx (1079x1919 with 10 contacts) detected on /dev/input/event0 (score 2109) Do adb forward to port 1718 success !
回复

使用道具 举报

0

主题

40

帖子

150

积分

2018-5-20 22:19:24 显示全部楼层
建议添加这边的官方微信号junjun360422,关于IDE的问题,我们通过微信群点对点及时支撑。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册