Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提供给第三方使用的sdk包,一般都会正式打成apk包后,再使用反编译工具解压后,把源码压成jar包再给到用户 #1

Open
bbfxier opened this issue Apr 8, 2020 · 3 comments

Comments

@bbfxier
Copy link

bbfxier commented Apr 8, 2020

提供给第三方使用的sdk包,一般都会正式打成apk包后,再使用反编译工具解压后,把源码压成jar包再给到用户
你直接打成jar不行吗,有string类资源直接写进去。非要打成apk再反编译,图什么?

@jinpang
Copy link
Owner

jinpang commented May 6, 2020

目的是为了把一些核心代码给做混淆,安全起见。直接打jar包,源码是不做混淆的,别人可以很方便看到源码。

@bbfxier
Copy link
Author

bbfxier commented May 6, 2020

目的是为了把一些核心代码给做混淆,安全起见。直接打jar包,源码是不做混淆的,别人可以很方便看到源码。

jar包也可以做混淆,对于string之类的资源,直接写在代码里,或者写成static final的,编译的时候java会自动把实际的值替换到代码里

@jinpang
Copy link
Owner

jinpang commented May 8, 2020

哦。。。通过AS可以直接打包混淆的jar包?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants