Tizen无法识别Google Chrome浏览器

qlzsbp2j  于 2023-02-06  发布在  Go
关注(0)|答案(2)|浏览(192)

我刚买了一个三星Gear 2 Neo,想创建自己的手表。所以这意味着我是Tizen开发的新手。我安装了Tizen IDE和SDK,但出于某种原因,在完成了本教程的一部分之后(http://www.slideshare.net/badaindonesia/professional-tizen-application-development)Tizen无法运行我的项目,因为它无法在指定位置找到Google Chrome浏览器。当我尝试将Tizen web应用程序作为Tizen web模拟器应用程序运行时出现此问题。当我尝试将其作为Tizen web应用程序启动时,它显示Could not find emulator or device,但这不是我当前的目标。
具体消息为Google Chrome could not be found (C:\Program Files(x86)\Google\Chrome\Application\Chrome.exe). Please install Google Chrome and specify the Google Chrome program location in Window->Preferences under "Tizen SDK/Web/Simulator".
我试过将位置更改为C:\Program Files(x86)\Google\Chrome\Application\,但这也没有帮助。是的,我已经输入了正确的位置,因为我已经手动将chrome.exe定位到。
唯一可能出错的是,我在Windows 8 64位台式电脑上使用Windows 7 64位安装程序。

z31licg0

z31licg01#

我也遇到过类似的bug,也许这对你/未来的开发者有帮助:
我的问题是Chrome应用程序在按debug键时打不开,后来我用Visual Studio Tizen扩展尝试了一下:同样的问题。
修复方法:我深入到扩展代码中,发现通过"更改Chrome路径"选项更改Chrome路径实际上并不会更改您的Chrome路径。
进入"* C:\Users[用户名]. vscode\extensions\tizenweb. wappl-1.1.2\lib\constants.js *"并将Constants.CHROME_PATH更改为chrome路径(针对您正在使用的操作系统)。
我还没有找到Tizen应用程序的解决方案,尽管无论如何我都会建议使用VSCode扩展。

rnmwe5a2

rnmwe5a22#

我也遇到了同样的问题。虽然不完全是解决办法,但我找到了一个变通办法。
1.从开始菜单启动Web模拟器
1.在地址字段中输入index.html文件的位置,然后按Enter
1.不要忘记在前面添加***file:///***。
就这样!

相关问题