收到一份谷歌的邮件
Hello Google Play Developer,
We detected that your app(s) listed at the end of this email are using an unsafe version of the libpng library. Apps with vulnerabilities like this can expose users to risk of compromise and may be considered in violation of our Malicious Behavior policy.
What’s happening
Beginning September 17, 2016, Google Play will block publishing of any new apps or updates that use vulnerable versions of libpng. Your published APK version will not be affected, however any updates to the app will be blocked unless you address this vulnerability.
Action required: Migrate your app(s) to use libpng v1.0.66, v.1.2.56, v.1.4.19, v1.5.26 or higher as soon as possible and increment the version number of the upgraded APK.
更新方法1、下载libpng文件目录:“cocos2dx\platform\third_party\android\prebuilt”
下载地址:http://pan.baidu.com/s/1slhAznv
2、修改“cocos2dx” 目录下的 “Android.mk” 文件
修改内容:
原内容:LOCAL_WHOLE_STATIC_LIBRARIES := cocos_libpng_static
修改为:
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_libzlib_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libpng_static
原内容::$(call import-module,libpng)
修改为:
$(call import-module,libzlib)
$(call import-module,libpng)
3、重新编译so文件即可
这篇博客介绍了如何应对Google Play发送的安全警告,内容涉及使用了不安全版本libpng库的应用。开发者需要将Cocos2d-x项目中的libpng库升级到指定的安全版本,并提供了详细步骤:下载更新后的libpng文件,修改`Android.mk`文件,然后重新编译SO文件以确保应用的更新能够通过Google Play的安全检查。
9190

被折叠的 条评论
为什么被折叠?



