How to fix libpng vulnerability for Play Store

asked 2016-08-23 04:44:23 -0500

tiboreno gravatar image


I'm using OpenCV threw another library (scanlibrary) in an android app. For few weeks Play Store tell me that my APKs are not secure. I searched over the Internet for an answer that works with my code, but for instance nothing works.

I downloaded OpenCV 3.1.0 and copy/paste the three folder of sdk (etc, data & native) following the main ideas found on Internet. But this is not working, Play store keep telling me the vulnerability issue.

I am wondering if there is something else to do ( a compilation of the ne content of jdk) , is there ? I have some more files in the scanlibrary as *.mk , *.h, *.cpp or *.so files that i supposed are compiled? So need I to compile?

Thanks for help.

Have all a good day.

edit retag flag offensive close merge delete


unfortunately, i can't givea regular answer (because i can't try myself), but looking here it seems, you have to:

  • get latest opencv from github (contains fixed png libs)
  • build opencv4android locally (using cmake & ninja)
  • rebuild your app statically (not using opencv-manager app)
  • re-upload your app
berak gravatar imageberak ( 2016-08-23 08:51:07 -0500 )edit

Thanks @berak, I think your link rollback to this answer :/ - Latest opencv from github? what to choose in? - How to build opencv4android locally? run a make on one specific file? what is ninja? - When you said rebuild app statically (as assemble release?)

Sorry to ask so obvious things but i just started working on native things

tiboreno gravatar imagetiboreno ( 2016-08-25 07:49:21 -0500 )edit