上传自己Android APP应用到市场、如何才能做到防止别人二次打包?

WBOY
Release: 2016-06-06 20:43:41
Original
953 people have browsed it

上传自己Android APP应用到市场、如何才能做到防止别人二次打包?请问各位大神有什么相关教程可以分享一下!自己想简单学习,了解一下!

回复内容:

上传自己Android APP应用到市场、如何才能做到防止别人二次打包?请问各位大神有什么相关教程可以分享一下!自己想简单学习,了解一下!

要实现代码内部防止APP被二次打包首先得了解APK的机器识别原理,APK的唯一识别是依靠包名和签名来做鉴定的,类似豌豆夹的洗白白、360手机卫士等安全软件对APK的山寨识别,他们就是依赖包名来确定APK然后通过签名来确定其是否山寨。
所以说自己的程序内部在启动的时候可以通过获取APK本身的签名然后和正确的签名做对比来识别自己是否被二次打包。http://blog.segmentfault.com/aijiami/1190000000630887

App安全检测平台(http://safe.ijiami.cn)。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!