shadowsocks / shadowsocks-android

A shadowsocks client for Android
Other
35.23k stars 11.57k forks source link

Debug symbols for native libs not stripped #3167

Closed AaronChen0 closed 2 months ago

AaronChen0 commented 2 months ago

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 commented 2 months ago

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