libcrashpad_handler.so: library "libc++_shared.so" not found: needed by main executable

275 views Asked by At

I followed the manual written by Bugsplat to build Crashpad for Android.
The build was successful and I got all necessary libraries. However I noticed that the prebuilt library libcrashpad_handler.so in Bugsplat's sample weighs about 26Mb. And mine is only 700Kb.
Moreover I got errors from linker when trying to catch signals from system.

/lib/arm64/libcrashpad_handler.so": library "libc++_shared.so" not found: needed by main executable

Is the instructions are not up-to-date on Bugsplat? Maybe there should be some extra_cflags passed to gn gen --args ?

Btw, I tried to include c++shared into apk with:

        externalNativeBuild {
            cmake {
                arguments "-DANDROID_STL=c++_shared"
            }
        }

But i got no success to load it.

Really appreciate your assistance in building libcrashpad_handler.so.

0

There are 0 answers