sledu
sledu
  • 发布:2020-08-11 15:19
  • 更新:2020-08-11 15:19
  • 阅读:1824

win7安装微信开发者工具后打不开,卡死的现象

分类:uni-app

今天想研究下uniapp发布成微信小程序的方法,于是从微信的网站上下载了微信开发者工具:
https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html
下载64位稳定版安装,打开,界面处理卡死的状态,一片黑。
搜索了一下下面的解决方案:
https://developers.weixin.qq.com/community/develop/doc/000a02d19141b0ddc11aa05d55b800?jumpto=comment&parent_commentid=0006a84c0b4968411e2a02e85510&commentid=0006a84c0b4968411e2a02e85510

将这个文件设置为下面贴的代码试试呢 ~/AppData/Local/微信开发者工具/User Data/localstorage_b72da75d79277d2f5f9c30c9177be57e.json

{
"show": false,
"currentCategory": "general",
"compiler": {
"clusterCompile": false,
"autoPreview": false,
"autoRemoteDebug": false
},
"general": {
"openLastModifiedProject": true,
"autoPreviewType": "mobile",
"autoRemoteDebugType": "mobile",
"maxLogLength": 300,
"enableNewFW": true,
"enableGPU": false,
"ignoreUnsafeProxy": false,
"locale": "zh",
"defaultWorkspace": "/Users/kunlideng/WeChatProjects"
},
"appearance": {
"theme": "dark",
"devtoolsTheme": "dark",
"fontFamily": "SF Mono",
"fontSize": 12,
"lineHeight": 20,
"simulatorAlignment": "left"
},
"edit": {
"tabSize": 2,
"insertSpaces": true,
"wrap": "on",
"minimap": false,
"gitIgnoreWindowsReturn": true,
"autoTypingsDetectEnabled": true,
"alwaysOpenFileInNewTab": false,
"autoSave": false,
"autoRefresh": false,
"saveBeforeCompile": false,
"saveBeforePreview": false,
"saveBeforeUpload": false
},
"proxy": {
"proxyType": "SYSTEM",
"proxyHost": "127.0.0.1",
"proxyPort": "12639"
},
"notification": {
"bbs": true,
"sys": true,
"alarm": true
},
"security": {
"enableServicePort": true,
"port": 19195
},
"geo": {
"enabled": false,
"latitude": 39.92,
"longitude": 116.46,
"speed": -1,
"accuracy": 65,
"altitude": 0,
"verticalAccuracy": 65,
"horizontalAccuracy": 65
},
"shortcuts": {
"_editingShortcuts": false,
"toggleToolbar": {
"modifiers": ["cmd", "shift"],
"key": "T"
},
"toggleSimulatorWindow": {
"modifiers": ["cmd", "alt"],
"key": "S"
},
"toggleEditorWindow": {
"modifiers": ["cmd", "shift"],
"key": "E"
},
"toggleFileTree": {
"modifiers": ["cmd", "shift"],
"key": "M"
},
"toggleDebugWindow": {
"key": "I",
"modifiers": ["cmd", "shift"]
},
"rebuild": {
"key": "B",
"modifiers": ["cmd"]
},
"format": {
"key": "F",
"modifiers": ["shift", "alt"]
},
"refresh": {
"key": "R",
"modifiers": ["cmd"]
},
"toggleForegroundBackgroundStatus": {
"key": "",
"modifiers": []
},
"documentationSearch": {
"key": "",
"modifiers": []
},
"gotoFile": {
"key": "P",
"modifiers": ["cmd"]
},
"gotoRecentFile": {
"key": "E",
"modifiers": ["cmd"]
},
"preview": {
"key": "P",
"modifiers": ["shift", "cmd"]
},
"upload": {
"key": "U",
"modifiers": ["shift", "cmd"]
}
},
"syncTime": 1584263702017
}

经试验有效,但处理时并未找到上述方法给出的目录与文件,后来找到类似的目录:

目录下也并没有方案中所说的文件,于是自己新建了一个方案中的文件,并把上述代码拷贝到文件中,结果微信开发者工具正常启动了。

1 关注 分享
DCloud_HB_WDL

要回复文章请先登录注册