failed to read PNG signature: file does not start with PNG signature.

mehrdad ghasemi 21 Reputation points
2020-12-13T12:28:42.317+00:00

hello dear :

I have a problem on build android project in xamarin form

error :
failed to read PNG signature: file does not start with PNG signature.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,346 questions
{count} votes

Accepted answer
  1. JarvanZhang 23,961 Reputation points
    2020-12-14T02:54:18.3+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    error : failed to read PNG signature: file does not start with PNG signature.

    The problem might be because of the wrong extension of images. For example, the image file is a JPEG image, but is saved as a PNG instead of being converted to. In this situation, change the extension to the real one and convert it to PNG then retry.

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.