android .9图片引起的编译错误,Android Studio中关于9-patch格式图片的编译错误

Executing tasks: [assembleDebug]

Parallel execution with configuration on demand is an incubating feature.

Incremental java compilation is an incubating feature.

:app:preBuild UP-TO-DATE

:app:preDebugBuild UP-TO-DATE

:app:checkDebugManifest

:app:prepareDebugDependencies

:app:compileDebugAidl UP-TO-DATE

:app:compileDebugRenderscript UP-TO-DATE

:app:generateDebugBuildConfig UP-TO-DATE

:app:generateDebugResValues UP-TO-DATE

:app:generateDebugResources UP-TO-DATE

:app:mergeDebugResources

AAPT err(Facade for 1317812410): ERROR: 9-patch image \?D:MyProjectAndroidTimerappsrcmainesdrawable-hdpig_bottom_right_pressed.9.png malformed.

AAPT err(Facade for 1317812410):        Must have one-pixel frame that is either transparent or white.

AAPT err(Facade for 1317812410): ERROR: 9-patch image \?D:MyProjectAndroidTimerappsrcmainesdrawable-hdpig_bottom.9.png malformed.

AAPT err(Facade for 1317812410):        No marked region found along edge.

AAPT err(Facade for 1317812410):        Found along top edge.

AAPT err(Facade for 1411147031): ERROR: 9-patch image \?D:MyProjectAndroidTimerappsrcmainesdrawable-hdpig_bottom_left_pressed.9.png malformed.

AAPT err(Facade for 1411147031):        Must have one-pixel frame that is either transparent or white.

Error: Some file crunching failed, see logs for details

:app:mergeDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':app:mergeDebugResources'.

> Error: Some file crunching failed, see logs for details

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.503 secs

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值