为什么我的应用评论中出现“键‘评论’的值为空”?

为什么我的应用评论中出现“键‘评论’的值为空”?

我上传了一个 Ubuntu SDK 应用程序以供审查https://myapps.developer.ubuntu.com由于存在错误,审核仍处于等待状态。其中一个错误如下:

"desktop_validates (iamonair)": {
"link": "https://askubuntu.com/questions/417377/what-does-desktop-validates-mean/417378",
"text": "did not validate: (ValidationError in file '/tmp/clickreview-aahtrot5/iamonair.desktop': \n- Value of Key 'Comment' is empty )"
}
},

具体来说,它解释了我的.desktop错误,“注释”部分不完整。不过,我觉得我确实填写了此字段,因为这是我的.desktop文件:

[Desktop Entry]
Name=I am ON AIR
Comment=Listen to the latest episodes of Hardwell's official podcast, Hardwell On Air
Exec=/usr/bin/qmlscene $@ /usr/share/iamonair/iamonair.qml
Icon=images/256.jpg
Terminal=false
Type=Application
Categories=Audio;Music;Player
X-Ubuntu-Touch=true

我读过FreeDesktop 规范按照建议另一个 Ask Ubuntu 问题,但没有帮助。你能告诉我我应该修复什么吗?

答案1

我使用较新版本的 Ubuntu SDK(14.04)重建了该应用程序,现在不再出现错误。

但是,请注意,由于 Exec 键中的绝对路径,我遇到了错误。我也纠正了这个问题。

相关内容