1. 程式人生 > >andorid 因為.9圖片沒畫邊框線導致的錯誤解決辦法

andorid 因為.9圖片沒畫邊框線導致的錯誤解決辦法

為什麼會發生以下的錯誤呢,因為圖片.9資原始檔沒有加上黑色邊框線導致的。 需要畫上邊框線,儲存就可以了。注意:要把所有的.9圖片都畫上邊框線就可以了Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for detailserror: top-left corner pixel must be either opaque white or transparent.error: found an invalid color.