*We had some issues regarding .so files missing in an embedded project. I 
add the .so files in system/libs directory under output files and then 
rebuild the system.*
*I know it's a weir hack, but it works.*

You also have to add the library name in one of the '/build 
<http://aosp.opersys.com/xref/android-8.1.0_r20/xref/build/>/core 
<http://aosp.opersys.com/xref/android-8.1.0_r20/xref/build/core/>/' files 
that contain the list of other libraries.

I hope this helps.

On Friday, July 12, 2019 at 6:14:21 PM UTC+6, Priyanka Bose wrote:
>
> 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  
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/711b8806-329d-4393-a1d0-bd1c97f4c218%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to