-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error multi-hal build android.hardware.sensors has a conflict #2
Comments
Hello, What Android version are you building the HAL for ? |
Hi Mario, I'm building the HIDL 2.0 version under android 12. There is a default hardware/interfaces/sensors/2.0/multihal already defined in my build, and it's why it's failing as the version defined is the same as the one used in the ST build.
Using the override property inside [email protected] the build is working.
Once the system is booted up i can see how the service is started: In my case i'm using the lsm6dso and the lis3mdl_magn, both chips are working fine and i can read raw data from them. But once i try to check the number of sensors available is 0.
I tested it with and without selinux enabled with the same result. About the PRODUCT_PACKAGES there is nothing relevant in my board.mk config, i will check the default ones and let you know. Thanks Mario. |
During the build i got the following error:
The content of the file [email protected] is the same as [email protected] located into st/sensors-hal/2.0
android.hardware.sensors hwbinder 2.0 ISensors defaultI have not seen/found anything in the documentation about this error, is there any aditional information about it?
The text was updated successfully, but these errors were encountered: