Hi,
We are using latest AOSP Android version and we are trying to add a new library "external/capstone: libcapstone.so"
in Art-runtime dependancy (libart module).
The problem is we are getting errors related to :
ime.debug/com.android.runtime.debug.apex && touch __SBOX_OUT_FILES__' __SBOX_OUT_DIR__/art-check-debug-apex-gen.dummy
--bitness=auto, trying to autodetect. This may be incorrect!
Detected multilib
Unexpected file 'lib/libcapstone.so'
Unexpected file 'lib64/libcapstone.so'
So added 'libcapstone.so" in core/main.mk under "APEX_MODULE_LIBS". Also updated “build/apex/art_apex_test.py” to add a check as "self._checker.check_native_library('libz')".
But now ending up with errors as " APEX libraries found in system image (see comment for "check-apex-libs-absence")"
Can you please help us on how can we fix the apex related compilation errors while adding a "libart" dependent shared-lib.
Best Regards
Priyanka