Problem: the installation of install depends on the APK with so library, so it can’t load so normally. Error: not found libc + +. So
for example: system. Loadlibrary (“inittest”);
analysis:
- on Android/prebuilds/tools/GCC SDK, run the following command:
readelf – DW libinittest. So
to view the dynamic dependency Library of libinittest. So. Since relying on libc + +. So Android n, Google has contracted the dependent permissions of so library. Only the application under system/APP system/priv app can be relied on. Some so libraries cannot be loaded by the installation application under data/APP
the following/system/etc/public.libraries.txt is the white list of dynamically dependent libraries. Libc + +. So is not among them ol>
libandroid.so
libaaudio.so
libamidi.so
libbinder_ndk.so
libc.so
libcamera2ndk.so
libdl.so
libEGL.so
libGLESv1_CM.so
libGLESv2.so
libGLESv3.so
libicui18n.so
libicuuc.so
libjnigraphics.so
liblog.so
libmediandk.so
libm.so
libnativewindow.so
libneuralnetworks.so
libOpenMAXAL.so
libOpenSLES.so
libRS.so
libstdc++.so
libsync.so
libvulkan.so
libwebviewchromium_plat_support.so
libz.so
Scheme 1:
add libc + +. So to the white list
Scheme 2:
add the following configuration in the source code android.mk of libinittest.so:
LOCAL_NDK_STL_VARIANT := c++_static
LOCAL_SDK_VERSION := 8
Scheme 3:
copy libc + +. So to the same level directory of libinittest.so in your app to generate APK.
Read More:
- Alpine Linux executable file crash report error / lib / x86 not found_ 64 Linux GNU / libc.so solution
- Linux error deletion libc.so.6 how to recover
- nbconvert failed: xelatex not found on PATH, if you have not installed xelatex you may need to do so
- When the source side of Dameng synchronization tool HS starts the service, it prompts that the so file does not exist: libdmoci.so
- IntelliJ idea error: package not found or symbol not found
- [solved] – bash: rabbitmq plugins: command not found or RA bbitmqctl:command not found
- How to Fix Pandoc wasn’t found.pdflatex not found on PATH
- dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.9_i386.deb (–u
- gcc /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
- Debugging failed under vscode Ubuntu, unable to open libc-start. C raise. C, etc
- Mac boot boot the most detailed explanation, so that the automatic start of the program can not escape
- Error c3861: identifier not found | identifier not found
- “Error! Reference source not found.” “error! The source of the problem was not found
- “Error! Reference source not found.” “error! Reference source not found solution to problem for
- curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ig
- Idea project prompt: symbol not found or package does not have a solution
- ERROR: JAVA_HOME is not set and could not be found.
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- WCF-HTTP Error 404.17 – Not Found, The requested content appears to be script and will not be served…
- Incomplete and “the Jupiter” distribution was not found