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

Debug symbols for native libs not stripped #3167

Closed
AaronChen0 opened this issue Aug 29, 2024 · 1 comment
Closed

Debug symbols for native libs not stripped #3167

AaronChen0 opened this issue Aug 29, 2024 · 1 comment
Labels

Comments

@AaronChen0
Copy link
Contributor

AaronChen0 commented Aug 29, 2024

The latest commit has the following note in build log.

> Task :mobile:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libbarhopper_v3.so, libimage_processing_util_jni.so, libredsocks.so, libsslocal.so, libtun2socks.so.

Tested in a release build too. And the native libs libtun2socks.so and libredsocks.so are now around 1MB, while in previous version they are around 150 KB.

This commit does not have that unable-to-strip note.

Possible reasons:

  1. ndkVersion was moved from buildSrc to core.
  2. API 35 is beta. The Android Gradle plugin (8.5.2) was tested up to compileSdk = 34.
@AaronChen0 AaronChen0 added the bug label Aug 29, 2024
@AaronChen0
Copy link
Contributor Author

I can confirm the reason is that ndkVersion was moved from buildSrc to core.

@Mygod Mygod closed this as completed in 1f46c2a Aug 29, 2024
Mygod added a commit that referenced this issue Aug 29, 2024
Co-authored-by: Aaron Chen <aaronchen.lisp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant