这是launch.Json:
{ // Use IntelliSense to learn about possible attributes. // Hover to vIEw descriptions of existing attributes. // For more information,visit: https://go.microsoft.com/fwlink/?linkID=830387 "version": "0.2.0","configurations": [ { "name": "DeBUG iOS","program": "${workspaceRoot}/.vscode/launchReactNative.Js","type": "reactnative","request": "launch","platform": "ios","sourceMaps": true,"outDir": "${workspaceRoot}/.vscode/.react","target": "simulator" },{ "name": "DeBUG AndroID","platform": "androID","outDir": "${workspaceRoot}/.vscode/.react" },{ "name": "Attach to packager","request": "attach",{ "name": "DeBUG in Exponent","platform": "exponent","outDir": "${workspaceRoot}/.vscode/.react" } ]}
在调试时我收到错误 – 调试适配器进程意外终止.还有一个错误.
我在Github也开了一个问题,但还没有收到解决方案.
更新:回应ShaneG的回答,我正在添加项目方案和info.pList的截图
如果不这样做,请尝试运行代码.从项目文件夹的根目录.如果尚未安装shell命令,则需要从VSCode安装(命令shift-command-p并搜索Shell命令:安装代码命令PATH).
这是我的问题,无论出于什么原因,当我从聚光灯打开VSCode时,没有创建.react文件夹.
总结以上是内存溢出为你收集整理的android – React Native – 调试适配器进程意外终止全部内容,希望文章能够帮你解决android – React Native – 调试适配器进程意外终止所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)