on android P, how does a vendor bin load a shared library from platform?

2,313 views
Skip to first unread message

lion7b...@163.com

unread,
Sep 1, 2018, 10:42:52 AM9/1/18
to android-porting
On android O, my vendor bin ran without any error. But after the migration to android P, some errors occur even when compiling.
The errors was shown as blow:
"bin_name (native:vendor) should not link to libandroid_runtime(native:platform)."
So, how should vendor bin file do to load platform libs ?
Is this problem related to hidl?
Is hidl a good choice?
Could anyone help me ?

Renjith Rajagopal

unread,
Oct 3, 2018, 5:28:13 AM10/3/18
to android-porting
Does your platform enabled VNDK ?
Go through this link:

p.d...@szjiuzhou.com.cn

unread,
Mar 8, 2019, 1:51:07 PM3/8/19
to android-porting
I meet the same problem,Have you solved this problem?

在 2018年9月1日星期六 UTC+8下午10:42:52,Perlman Song写道:
Reply all
Reply to author
Forward
0 new messages