Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:

后端 未结 7 2178
闹比i
闹比i 2020-12-31 11:12

This is the output of my gradle console please help me out to solve this error, I am unable to build my project

Information:Gradle tasks [:facebook:generate         


        
7条回答
  •  一整个雨季
    2020-12-31 12:05

    The problem is due to the .9 patch image file which you have added in the drawable.

    To fix the issue.

    1) Check you have named the 9 patch image as(file_name.png to file_name.9.png). E.g: "myimage.9.png" in the drawable folder.

    2) Must Ensure that the 9 patch image file contains the "Content Marker on the 4 sides of the image". (i.e: if you open the image in Android studio, you will able to view 4 black lines on 4 sides of the image.)

    3) if you not able to view the Content Marker on the sides of the image, then kindly rename the image file from (file_name.9.png to file_name.png), the error will be vanished.

提交回复
热议问题