{"action":"opened","issue":{"url":"https://api.github.com/repos/ericyuTestrite/TestRite-ITSG/issues/2","labels_url":"https://api.github.com/repos/ericyuTestrite/TestRite-ITSG/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ericyuTestrite/TestRite-ITSG/issues/2/comments","events_url":"https://api.github.com/repos/ericyuTestrite/TestRite-ITSG/issues/2/events","html_url":"https://github.com/ericyuTestrite/TestRite-ITSG/issues/2","id":92340261,"number":2,"title":"Build app 時可以變更 icon了!","user":{"login":"Josephchung2015","id":12792533,"avatar_url":"https://avatars.githubusercontent.com/u/12792533?v=3","gravatar_id":"","url":"https://api.github.com/users/Josephchung2015","html_url":"https://github.com/Josephchung2015","followers_url":"https://api.github.com/users/Josephchung2015/followers","following_url":"https://api.github.com/users/Josephchung2015/following{/other_user}","gists_url":"https://api.github.com/users/Josephchung2015/gists{/gist_id}","starred_url":"https://api.github.com/users/Josephchung2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josephchung2015/subscriptions","organizations_url":"https://api.github.com/users/Josephchung2015/orgs","repos_url":"https://api.github.com/users/Josephchung2015/repos","events_url":"https://api.github.com/users/Josephchung2015/events{/privacy}","received_events_url":"https://api.github.com/users/Josephchung2015/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-01T10:22:22Z","updated_at":"2015-07-01T10:22:22Z","closed_at":null,"body":"在config.xml 加入：\r\nicon src=\"res/icon.png\"/\r\n下cordova build android時出現\r\ncp: no such file or directory: D:\\MobileLab\\myapp\\app01\\app_name\\res\\icon.png\r\n看來是原本擺放icon.png的預設路徑是指到下cordova create app_name的路徑\r\n最快的方法就是不動config.xml直接在app_name的目錄下直接建個res目錄, 然後把要使用的icon.png圖檔放進res目錄裡。\r\n再重build一次就可以了。"}}