我正在尝试通过关注 this guide 了解有关在 Android 上开发应用程序的更多信息.
当我尝试运行空白 Cordova 项目时,无论我打开还是关闭部署,都会收到错误。
部署关闭时,我收到错误:
Unable to get launched browser process for your app.
部署ON后,我收到错误:
assert.js:90
AssertionError: missing path
at Function.Module.runMain (module.js:441:10)
at Function.Module._load (module.js:300:12)
at Module.load (module.js:343:32)
at Module.require (module.js:351:3)
at Module._compile (module.js:409:26)
at node.js:968:3
at Object.<anonymous> (C:\ProgramData\Microsoft\VisualStudio\MDA\f6dfaae9\taco-toolset-6.3.1\simulate.js:15:13)
Description
at Object.Module._extensions..js (module.js:416:10)
at require (internal/module.js:12:17)
at startup (node.js:139:18)
Node process unexpectedly exited while waiting for property 'appUrl'.
throw new assert.AssertionError(
由于我对 Android 开发和 Visual Studio 相当陌生,因此我们将不胜感激。
我已经安装了 Google Chrome。
最佳答案
最近我也遇到了这个问题。
根据以下线程的建议,
我重新安装了 Cordova 工具,问题已解决。
关于javascript - 使用 Visual Studio 进行 Android 开发时需要澄清错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41907725/