title: Google Play Store rejects apk due to vulnerable version of libpng
body: <p>When I try to publish my app in the Google Play Developer Console I get an error that the used version of libpng is vulnerable.</p>
  
  <blockquote>
    <p>The vulnerabilities were fixed in libpng v1.0.66, v.1.2.56, v.1.4.19,
    v1.5.26 or higher. You can find more information about how resolve the issue in this Google Help Center article <a href="https://support.google.com/faqs/answer/7011127" rel="nofollow noreferrer">https://support.google.com/faqs/answer/7011127</a>.</p>
  </blockquote>
  
  <p>However, I do not need libpng at all so I do not want to upgrade but instead remove it. My app uses OpenCV 2.4.11 and Tesseract (which again comes with leptonica). I recompiled OpenCV and Tesseract after setting the HAVE_LIBPNG flag to false using ndk-build.</p>
  
  <p>When inspecting my apk file there is no libpng in the libraries folder.</p>
  
  <p>Why does Google keep rejecting the app? What else can I do to get the app accepted?</p>
  
  <p>Any ideas are appreciated.</p>
  
  <p>Edit: 
  I have read <a href="https://stackoverflow.com/questions/37875685/android-removing-opencv-older-version-will-resolve-libpng-vulnerability-warning/37882986#37882986">Android: Removing OpenCV older version will resolve Libpng Vulnerability warning?</a>.
  I do not want to update to OpenCV 3.1 but simply remove libpng from my App. I am not using it, so a smaller apk would also be a benefit from a simple removal.</p>