微信开发者工具安装后打开黑屏如何解决?

第一步,找到目录

这里每个人的电脑不同,目录也不同。教你万能的方法,你可以打开C盘搜索 “AppData”,直接查看“微信开发者工具”目录,找最新升级日期,找到里面的WeappLocalData打开它就对了。这是我电脑的目录:

C:\Users\xxx\AppData\Local\微信开发者工具\User Data\5614c56fc9c154dbeba624c6e66e9224\WeappLocalData

仅供参考,这里的xxx是电脑用户名称,根据个人电脑管理员不同显示不同。

第二步,创建文件

进入WeappLocalData目录后创建文件。网上很多说快捷方式调出设置,都黑屏了,还没打开工具呢,怎么调?

创建文件localstorage_b72da75d79277d2f5f9c30c9177be57e.json,粘贴下面的内容保存即可。(如果已经有该文件,替换里面的内容,原文件可复制一份防止该方法不适于你)。

{"show":false,"currentCategory":"proxy","compiler":{"clusterCompile":false,"autoPreview":false,"autoRemoteDebug":false},"general":{"openLastModifiedProject":true,"autoPreviewType":"mobile","autoRemoteDebugType":"mobile","maxLogLength":300,"enableNewFW":true,"enableGPU":false,"ignoreUnsafeProxy":false,"defaultWorkspace":"D:\\WeChatProjects","locale":"zh"},"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":30150},"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}

 

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页