收藏
回答

win7 64位最新版微信小程序开发工具启动黑屏?

您好,我这边win64,刚下载的微信开发工具,最新稳定版,启动界面就黑屏,打不开,请问该怎么解决呢?

ps:

根据搜索的其他帖子,没有找到 enableGPU: false 这个GPU配置,并且文件夹路径比别人多了一层,我的文件夹路径是这样的

C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\9520eddd8be2268ab17f17bf0cd47d07\WeappLocalData


回答关注问题邀请回答
收藏

1 个回答

  • debug
    debug
    2020-08-11
    把这个json保存为 localstorage_b72da75d79277d2f5f9c30c9177be57e.json 文件,然后把这个文件放到\WeappLocalData路径下就可以了。
    {
    	"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,
    		"simulatorInfoBarQuickOpenFileExtention": "js",
    		"whenProjectCloseOpenProjectListWindow": true,
    		"defaultWorkspace": "D:\\phpstudy\\PHPTutorial\\WWW\\项目备份\\小程序",
    		"locale": "zh"
    	},
    	"appearance": {
    		"theme": "dark",
    		"devtoolsTheme": "dark",
    		"fontFamily": "SF Mono",
    		"fontSize": 12,
    		"lineHeight": 20,
    		"simulatorAlignment": "right"
    	},
    	"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": "DIRECT",
    		"proxyHost": "127.0.0.1",
    		"proxyPort": "12639"
    	},
    	"notification": {
    		"bbs": true,
    		"sys": true,
    		"alarm": true
    	},
    	"security": {
    		"enableServicePort": true,
    		"port": 54706
    	},
    	"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-08-11
    有用 1
    回复
登录 后发表内容
问题标签