chrome插件开发记录(1)——解决问题“清单文件缺失或不可读”

清单文件即为mainfest.json文件,这是我的mainfest.json文件内容:

技术分享

这是加载的文件夹里的设置:

技术分享

刚开始找了很久没找到解决办法,后来是看到StackOverFlow有个人解答的:

"

My problem was slightly different.

By default Eclipse saved my manifest.json as an ANSI encoded text file.

Solution:

  • Open in Notepad
  • File -> Save As
  • select UTF-8 from the encoding drop-down in the bottom left.
  • Save

"

于是我就用notepad打开文件,然后另存为时候,保存类型选all types,问题解决了,不知是不是原来真的用了txt格式,字符编号不同了?

文章来自:http://www.cnblogs.com/tanliyu/p/4303136.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3