发布Chrome应用时发生“128x128图标文件丢失”错误

问题描述:

上传应用到Chrome商店时出现严重问题。一直说:发布Chrome应用时发生“128x128图标文件丢失”错误

“时出现错误:。无法处理您的项目

128x128图示文件丢失”。

我在那里有128x128的.png文件。这是我以.json文件:

{ 
    "name": "Radio Player UK", 
    "version": "1.0", 
    "manifest_version": 2, 
    "description": "Radio, but without the rubbish. The best radio stations are here. Choose from lots of great radio stations.", 
    "app":{ 
     "urls": ["http://www.radioplayeruk.com"], 
     "launch":{ 
      "web_url": "http://www.radioplayeruk.com/index.php" 
     } 
    }, 
    "icons":{ 
     "icons": { 
      "16": "logo16.png", 
      "128": "logo.png" 
     } 
    } 
} 

我知道的文件扩展名是大小写敏感的,相应调整这一点。

任何人都可以阐明为什么我不断收到此消息吗?

+0

是完全为你写他们的图标文件名?确保您完全按照原样(检查文件名或扩展名是否有大写字母)。 – elboletaire

+0

文件名和文件扩展名与.json文件中的名称完全相同。我已经从文件名复制并粘贴,以确保它确切。 –

您已经设置了icons两次。 According to the Google docs它应该只是一个icons键。

所以,你的表现应该是:

{ 
    "name": "Radio Player UK", 
    "version": "1.0", 
    "manifest_version": 2, 
    "description": "Radio, but without the rubbish. The best radio stations are here. Choose from lots of great radio stations.", 
    "app":{ 
     "urls": ["http://www.radioplayeruk.com"], 
     "launch":{ 
      "web_url": "http://www.radioplayeruk.com/index.php" 
     } 
    }, 
    "icons": { 
     "16": "logo16.png", 
     "128": "logo.png" 
    } 
} 
+0

你是一个天才。谢谢! –

+0

我从来没有做过Google应用程序,只是去了文档,编辑你的问题,并看到'图标'键两次。我很高兴我帮你^^ – elboletaire