我安装了最新的VS Cordova工具(CTP3)。我运行了模拟器,当我点击调试时,应用程序将部署到设备。该应用程序加载并运行正常,但JavaScript控制台中未显示调试数据,DOM检查器未加载且未命中断点。 “输出”选项卡中显示了一些调试数据。
当我点击debug时,这是“Build”选项卡的一些输出:
2> Writing out cordova_plugins.js...
2> Wrote out Android application name to "My App"
2> This app does not have launcher icons defined
2> Wrote out Android package name to "io.cordova.BlankCordovaAppV3"
2> Running command: C:\web\cordova\sampleApp\bcv3\bc3\bld\Debug\platforms\android\cordova\run.bat --nobuild --emulator --debug
2> Skipping build...
2> Built the following apk(s):
2> C:\web\cordova\sampleApp\bcv3\bc3\bld\Debug\platforms\android\ant-build\CordovaApp-debug.apk
2> Installing app on emulator...
2> Using apk: C:\web\cordova\sampleApp\bcv3\bc3\bld\Debug\platforms\android\ant-build\CordovaApp-debug.apk
2> Launching application...
2> LAUNCH SUCCESS
2> Command finished with error code 0: C:\web\cordova\sampleApp\bcv3\bc3\bld\Debug\platforms\android\cordova\run.bat --nobuild,--emulator,--debug
这是JavaScript控制台选项卡中显示的所有内容:
HTML1300: Navigation occurred
File: about:blank
我之前已经能够进行调试,但现在除了一些随机事件之外它不起作用。我试图清除Cordova缓存并重新安装所有Cordova工具。有什么想法吗?
答案 0 :(得分:0)
我建议您尝试隔离问题。