[exec] ERROR: 9-patch image xxx.9.png malformed. [exec] No marked region found along edge.
用ant打包工程編譯資源時報下面的錯誤:
E:\trunk\trunk>E:\new_envi\apache-ant-1.8.4\bin\ant release
Buildfile: E:\trunk\trunk\build.xml
package-resource:
[echo] Packaging resources and assets E:\trunk\trunk\bin\resources.ap_
...
[exec] ERROR: 9-patch image E:\trunk\trunk\res\drawable-hdpi\long_red_btn_n
ormal.9.png malformed.
[exec] No marked region found along edge.
[exec] Found along top edge.
[exec] ERROR: Failure processing PNG image E:\trunk\trunk\res\drawable-hdpi
\long_red_btn_normal.9.png
[exec] ERROR: 9-patch image E:\trunk\trunk\res\drawable-hdpi\long_red_btn_s
el.9.png malformed.
[exec] No marked region found along edge.
[exec] Found along top edge.
[exec] ERROR: Failure processing PNG image E:\trunk\trunk\res\drawable-hdpi
\long_red_btn_sel.9.png
[exec] ERROR: 9-patch image E:\trunk\trunk\res\drawable-hdpi\um_btn_disable
.9.png malformed.
[exec] No marked region found along edge.
[exec] Found along top edge.
[exec] ERROR: Failure processing PNG image E:\trunk\trunk\res\drawable-hdpi
\um_btn_disable.9.png
[exec] ERROR: 9-patch image E:\trunk\trunk\res\drawable-hdpi\um_btn_normal.
9.png malformed.
[exec] No marked region found along edge.
[exec] Found along top edge.
[exec] ERROR: Failure processing PNG image E:\trunk\trunk\res\drawable-hdpi
\um_btn_normal.9.png
[exec] ERROR: 9-patch image E:\trunk\trunk\res\drawable-hdpi\um_btn_pressed
.9.png malformed.
[exec] No marked region found along edge.
[exec] Found along top edge.
[exec] ERROR: Failure processing PNG image E:\trunk\trunk\res\drawable-hdpi
\um_btn_pressed.9.png
[exec] ERROR: 9-patch image E:\trunk\trunk\res\drawable-hdpi\um_btn_selecte
d.9.png malformed.
[exec] No marked region found along edge.
[exec] Found along top edge.
[exec] ERROR: Failure processing PNG image E:\trunk\trunk\res\drawable-hdpi
\um_btn_selected.9.png
[exec] ERROR: 9-patch image E:\trunk\trunk\res\drawable-hdpi\us_progress_ba
r_bg.9.png malformed.
[exec] No marked region found along edge.
[exec] Found along top edge.
[exec] ERROR: Failure processing PNG image E:\trunk\trunk\res\drawable-hdpi
\us_progress_bar_bg.9.png
[exec] ERROR: 9-patch image E:\trunk\trunk\res\drawable-hdpi\youshi_login.9
.png malformed.
[exec] No marked region found along edge.
[exec] Found along top edge.
[exec] ERROR: Failure processing PNG image E:\trunk\trunk\res\drawable-hdpi
\youshi_login.9.png
[exec] E:\trunk\trunk\res\layout\emb_audio.xml:18: error: Error: No resourc
e found that matches the given name (at 'src' with value '@drawable/video_audio_
icon').
[exec] E:\trunk\trunk\res\layout\emb_audio.xml:52: error: Error: No resourc
e found that matches the given name (at 'background' with value '@drawable/video
_audio_text_bg').
[exec] E:\trunk\trunk\res\layout\emb_audio.xml:68: error: Error: No resourc
e found that matches the given name (at 'background' with value '@drawable/video
_ctl_bg').
[exec] E:\trunk\trunk\res\layout\emb_audio.xml:78: error: Error: No resourc
e found that matches the given name (at 'background' with value '@drawable/long_
red_btn').
[exec] E:\trunk\trunk\res\layout\emb_audio.xml:78: error: Error: No resourc
e found that matches the given name (at 'drawableLeft' with value '@drawable/vid
eo_icon').
[exec] E:\trunk\trunk\res\layout\emb_audio.xml:109: error: Error: No resour
ce found that matches the given name (at 'background' with value '@drawable/bk_y
angshenqi').
[exec] E:\trunk\trunk\res\layout\emb_audio.xml:129: error: Error: No resour
ce found that matches the given name (at 'background' with value '@drawable/bk_t
ingtong').
[exec] E:\trunk\trunk\res\layout\emb_call_fail.xml:33: error: Error: No res
ource found that matches the given name (at 'background' with value '@drawable/y
ouxin_embed_btn_bg').
[exec] E:\trunk\trunk\res\layout\emb_call_fail.xml:42: error: Error: No res
ource found that matches the given name (at 'background' with value '@drawable/y
ouxin_embed_btn_bg').
[exec] E:\trunk\trunk\res\layout\emb_call_out.xml:11: error: Error: No reso
urce found that matches the given name (at 'background' with value '@drawable/vi
deo_titlebar_bg').
[exec] E:\trunk\trunk\res\layout\emb_call_out.xml:57: error: Error: No reso
urce found that matches the given name (at 'src' with value '@drawable/video_use
r').
[exec] E:\trunk\trunk\res\layout\emb_call_out.xml:72: error: Error: No reso
urce found that matches the given name (at 'background' with value '@drawable/vi
deo_ctl_bg').
[exec] E:\trunk\trunk\res\layout\emb_call_out.xml:89: error: Error: No reso
urce found that matches the given name (at 'background' with value '@drawable/lo
ng_red_btn').
[exec] E:\trunk\trunk\res\layout\emb_call_out.xml:89: error: Error: No reso
urce found that matches the given name (at 'drawableLeft' with value '@drawable/
video_icon').
[exec] E:\trunk\trunk\res\layout\emb_video_controlbar.xml:41: error: Error:
No resource found that matches the given name (at 'background' with value '@dra
wable/cam_control').
[exec] E:\trunk\trunk\res\layout\emb_video_controlbar.xml:53: error: Error:
No resource found that matches the given name (at 'background' with value '@dra
wable/video_ctlbar_bg').
[exec] E:\trunk\trunk\res\layout\emb_video_titlebar.xml:10: error: Error: N
o resource found that matches the given name (at 'src' with value '@drawable/swi
tch_cam').
[exec] E:\trunk\trunk\res\layout\embed_progressbar.xml:2: error: Error: No
resource found that matches the given name (at 'background' with value '@drawabl
e/us_progress_bar_bg').
[exec] E:\trunk\trunk\res\layout\login_verify.xml:27: error: Error: No reso
urce found that matches the given name (at 'background' with value '@drawable/re
gister_editor').
[exec] E:\trunk\trunk\res\layout\login_verify.xml:110: error: Error: No res
ource found that matches the given name (at 'background' with value '@drawable/y
ouxin_embed_btn_bg').
[exec] E:\trunk\trunk\res\layout\login_verify.xml:160: error: Error: No res
ource found that matches the given name (at 'background' with value '@drawable/y
ouxin_embed_btn_bg').
[exec] E:\trunk\trunk\res\layout\login_verify.xml:171: error: Error: No res
ource found that matches the given name (at 'background' with value '@drawable/y
ouxin_embed_btn_bg').
[exec] E:\trunk\trunk\res\layout\reg_guide_module1.xml:19: error: Error: No
resource found that matches the given name (at 'background' with value '@drawab
le/youshi_regist').
[exec] E:\trunk\trunk\res\layout\reg_guide_module1.xml:24: error: Error: No
resource found that matches the given name (at 'background' with value '@drawab
le/youshi_regist_focus').
[exec] E:\trunk\trunk\res\layout\reg_guide_module1.xml:32: error: Error: No
resource found that matches the given name (at 'background' with value '@drawab
le/register_jiantou').
[exec] E:\trunk\trunk\res\layout\reg_guide_module2.xml:19: error: Error: No
resource found that matches the given name (at 'background' with value '@drawab
le/youshi_regist').
[exec] E:\trunk\trunk\res\layout\reg_guide_module2.xml:24: error: Error: No
resource found that matches the given name (at 'background' with value '@drawab
le/youshi_regist_focus').
[exec] E:\trunk\trunk\res\layout\reg_guide_module2.xml:33: error: Error: No
resource found that matches the given name (at 'background' with value '@drawab
le/register_jiantou').
[exec] E:\trunk\trunk\res\layout\reg_guide_module3.xml:19: error: Error: No
resource found that matches the given name (at 'background' with value '@drawab
le/youshi_regist').
[exec] E:\trunk\trunk\res\layout\reg_guide_module3.xml:24: error: Error: No
resource found that matches the given name (at 'background' with value '@drawab
le/youshi_regist_focus').
[exec] E:\trunk\trunk\res\layout\reg_guide_module3.xml:34: error: Error: No
resource found that matches the given name (at 'background' with value '@drawab
le/register_jiantou').
[exec] E:\trunk\trunk\res\layout\umfacetime_incoming_call.xml:12: error: Er
ror: No resource found that matches the given name (at 'background' with value '
@drawable/video_titlebar_bg').
[exec] E:\trunk\trunk\res\layout\umfacetime_incoming_call.xml:59: error: Er
ror: No resource found that matches the given name (at 'src' with value '@drawab
le/video_user').
[exec] E:\trunk\trunk\res\layout\umfacetime_incoming_call.xml:74: error: Er
ror: No resource found that matches the given name (at 'background' with value '
@drawable/video_calling_bg').
[exec] E:\trunk\trunk\res\layout\umfacetime_incoming_call.xml:83: error: Er
ror: No resource found that matches the given name (at 'background' with value '
@drawable/video_phone').
[exec] E:\trunk\trunk\res\layout\umfacetime_incoming_call.xml:83: error: Er
ror: No resource found that matches the given name (at 'drawableLeft' with value
'@drawable/video_accept_icon').
[exec] E:\trunk\trunk\res\layout\umfacetime_incoming_call.xml:102: error: E
rror: No resource found that matches the given name (at 'drawableLeft' with valu
e '@drawable/video_icon').
[exec] E:\trunk\trunk\res\layout\umfacetime_incoming_call.xml:102: error: E
rror: No resource found that matches the given name (at 'background' with value
'@drawable/long_red_btn').
[exec] E:\trunk\trunk\res\layout\umfacetime_video_bar.xml:2: error: Error:
No resource found that matches the given name (at 'background' with value '@draw
able/video_ctlbar_bg').
[exec] E:\trunk\trunk\res\layout\umfacetime_video_bar.xml:40: error: Error:
No resource found that matches the given name (at 'background' with value '@dra
wable/video_end_btn').
[exec] E:\trunk\trunk\res\layout\umfacetime_video_bar.xml:51: error: Error:
No resource found that matches the given name (at 'src' with value '@drawable/v
ideo_end_icon').
[exec] E:\trunk\trunk\res\drawable\cam_control.xml:4: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/cam_
close').
[exec] E:\trunk\trunk\res\drawable\cam_control.xml:5: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/cam_
close').
[exec] E:\trunk\trunk\res\drawable\cam_control.xml:6: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/cam_
open').
[exec] E:\trunk\trunk\res\drawable\cam_control.xml:7: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/cam_
close').
[exec] E:\trunk\trunk\res\drawable-hdpi\green_btn.xml:3: error: Error: No r
esource found that matches the given name (at 'drawable' with value '@drawable/u
m_btn_normal').
[exec] E:\trunk\trunk\res\drawable-hdpi\green_btn.xml:9: error: Error: No r
esource found that matches the given name (at 'drawable' with value '@drawable/u
m_btn_pressed').
[exec] E:\trunk\trunk\res\drawable-hdpi\green_btn.xml:14: error: Error: No
resource found that matches the given name (at 'drawable' with value '@drawable/
um_btn_normal').
[exec] E:\trunk\trunk\res\drawable\login_regist.xml:3: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/log
in_registnormal').
[exec] E:\trunk\trunk\res\drawable\login_regist.xml:6: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/log
in_registfocus').
[exec] E:\trunk\trunk\res\drawable\login_regist.xml:8: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/log
in_registnormal').
[exec] E:\trunk\trunk\res\drawable-hdpi\long_red_btn.xml:3: error: Error: N
o resource found that matches the given name (at 'drawable' with value '@drawabl
e/long_red_btn_normal').
[exec] E:\trunk\trunk\res\drawable-hdpi\long_red_btn.xml:9: error: Error: N
o resource found that matches the given name (at 'drawable' with value '@drawabl
e/long_red_btn_sel').
[exec] E:\trunk\trunk\res\drawable-hdpi\long_red_btn.xml:14: error: Error:
No resource found that matches the given name (at 'drawable' with value '@drawab
le/long_red_btn_normal').
[exec] E:\trunk\trunk\res\drawable\register_checkbox.xml:3: error: Error: N
o resource found that matches the given name (at 'drawable' with value '@drawabl
e/register_check_select').
[exec] E:\trunk\trunk\res\drawable\register_checkbox.xml:4: error: Error: N
o resource found that matches the given name (at 'drawable' with value '@drawabl
e/register_check_select').
[exec] E:\trunk\trunk\res\drawable\register_checkbox.xml:5: error: Error: N
o resource found that matches the given name (at 'drawable' with value '@drawabl
e/register_check').
[exec] E:\trunk\trunk\res\drawable\register_checkbox.xml:7: error: Error: N
o resource found that matches the given name (at 'drawable' with value '@drawabl
e/register_check_select').
[exec] E:\trunk\trunk\res\drawable-hdpi\switch_cam.xml:4: error: Error: No
resource found that matches the given name (at 'drawable' with value '@drawable/
switch_cam_disselect').
[exec] E:\trunk\trunk\res\drawable-hdpi\switch_cam.xml:8: error: Error: No
resource found that matches the given name (at 'drawable' with value '@drawable/
switch_cam_selected').
[exec] E:\trunk\trunk\res\drawable-hdpi\switch_cam.xml:11: error: Error: No
resource found that matches the given name (at 'drawable' with value '@drawable
/switch_cam_selected').
[exec] E:\trunk\trunk\res\drawable-hdpi\switch_cam.xml:15: error: Error: No
resource found that matches the given name (at 'drawable' with value '@drawable
/switch_cam_disselect').
[exec] E:\trunk\trunk\res\drawable-hdpi\switch_cam.xml:18: error: Error: No
resource found that matches the given name (at 'drawable' with value '@drawable
/switch_cam_disable').
[exec] E:\trunk\trunk\res\drawable-hdpi\um_btn.xml:4: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/um_b
tn_normal').
[exec] E:\trunk\trunk\res\drawable-hdpi\um_btn.xml:8: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/um_b
tn_pressed').
[exec] E:\trunk\trunk\res\drawable-hdpi\um_btn.xml:11: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/um_
btn_selected').
[exec] E:\trunk\trunk\res\drawable-hdpi\um_btn.xml:15: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/um_
btn_normal').
[exec] E:\trunk\trunk\res\drawable-hdpi\um_btn.xml:18: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/um_
btn_disable').
[exec] E:\trunk\trunk\res\drawable\video_audio.xml:3: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/vide
o_audionormal').
[exec] E:\trunk\trunk\res\drawable\video_audio.xml:9: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/vide
o_audioselect').
[exec] E:\trunk\trunk\res\drawable\video_audio.xml:14: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/vid
eo_audionormal').
[exec] E:\trunk\trunk\res\drawable\video_end_btn.xml:4: error: Error: No re
source found that matches the given name (at 'drawable' with value '@drawable/vi
deo_end_focus').
[exec] aapt: warning: string 'set_network_net_body' has no default translat
ion in E:\trunk\trunk\res; found: zh_CN zh_TW
[exec] E:\trunk\trunk\res\drawable\video_end_btn.xml:5: error: Error: No re
source found that matches the given name (at 'drawable' with value '@drawable/vi
deo_end_normal').
[exec] E:\trunk\trunk\res\drawable\video_phone.xml:3: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/gree
n_btn_normal').
[exec] E:\trunk\trunk\res\drawable\video_phone.xml:4: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/gree
n_btn_sel').
[exec] E:\trunk\trunk\res\drawable\video_phone.xml:5: error: Error: No reso
urce found that matches the given name (at 'drawable' with value '@drawable/gree
n_btn_normal').
[exec] E:\trunk\trunk\res\drawable-hdpi\youxin_embed_btn_bg.xml:4: error: E
rror: No resource found that matches the given name (at 'drawable' with value '@
drawable/youxin_embed_btn_bg_normal').
[exec] E:\trunk\trunk\res\drawable-hdpi\youxin_embed_btn_bg.xml:10: error:
Error: No resource found that matches the given name (at 'drawable' with value '
@drawable/youxin_embed_btn_bg_select').
[exec] E:\trunk\trunk\res\drawable-hdpi\youxin_embed_btn_bg.xml:15: error:
Error: No resource found that matches the given name (at 'drawable' with value '
@drawable/youxin_embed_btn_bg_normal').
BUILD FAILED
E:\trunk\trunk\build.xml:205: exec returned: 1
問題原因是工程中的資原始檔xx.9.png的圖片有問題,;
解決方法:
可以讓ui改下,或者自己動手改下;自己修改的話,則使用android sdk中的目錄tools下的工具draw9patch.bat來在圖片的邊緣描繪下圖片的邊緣可以解決
相關文章
- sqlplus"strace: exec: Exec format error"故障處理SQLORMError
- python execPython
- exec()函式函式
- shell中exec解析
- exec函式族函式
- exec函式簇函式
- slave_exec_mode
- match()與exec()區別
- xargs 和 exec詳解
- WPF Image add watermark and save marked image as jpg
- [譯]php和curl_multi_execPHP
- Docker exec 命令的詳細使用Docker
- 深度辨析 Python 的 eval() 與 exec()Python
- PHP exec system passthru系統函式PHP函式
- PHP協程:併發 shell_execPHP
- Go Exec 殭屍與孤兒程式Go
- 避免每次輸入bundler Exec命令
- java runtime.exec() 的編寫Java
- Symantec Backup Exec for Windows Servers是什麼?WindowsServer
- 在 JavaScript 中,exec() 和 match() 區別JavaScript
- mongodb錯誤解決辦法-bash: ./mongod: cannot execute binary file: Exec format errorMongoDBORMError
- [ERROR]XX is marked as crashed and should be repairedErrorAI
- 如何使用python中的exec函式?Python函式
- Veritas Backup Exec™ 21.3 Multilingual (Windows)Windows
- EXEC SP_CONFIGURE 'xp_cmdshell';
- exec dbms_stats.FLUSH_DATABASE_MONITORING_INFO;Database
- [ACTF2020 新生賽]ExecTF2
- go呼叫python報錯pkg-config: exec: "pkg-config": executable file not found in %PATH%GoPython
- 探究js正則匹配方法:match和execJS
- 伺服器不支援:curl_exec函式伺服器函式
- Linux下程式相關:fork(),wait(),exec()LinuxAI
- Runtime.getRuntime.exec操縱其他程式
- find命令的exec選項用法詳解(轉)
- Runtime.exec執行dos命令不正確
- Veritas Backup Exec 24.0 釋出,新增功能概覽
- PHP-fpm Linux 環境使用 exec 函式呼叫 FFmpeg,報錯 FFmpeg: command not found 的解決方法PHPLinux函式
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- 封裝一個exec方式:直接把東西都拿到封裝