# Cannot access /system/vendor/lib64/libOpenCL.so when using OpenCL on Android

**URL:** <https://forum.opencv.org/t/cannot-access-system-vendor-lib64-libopencl-so-when-using-opencl-on-android/24160>\
**Category:** Android/Java\
**Tags:** programming\
**Created:** [October 28, 2025, 2:18am UTC](https://forum.opencv.org/t/cannot-access-system-vendor-lib64-libopencl-so-when-using-opencl-on-android/24160 "2025-10-28T02:18:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yixun\_Liu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/yixun_liu/32/5083_2.png) [@Yixun\_Liu](https://forum.opencv.org/u/Yixun_Liu)\
**Post date:** [October 28, 2025, 2:18am UTC](https://forum.opencv.org/t/cannot-access-system-vendor-lib64-libopencl-so-when-using-opencl-on-android/24160/1 "2025-10-28T02:18:42Z")

</div>

Hi All,

I need to use OpenCL via Opencv ocl module on Android. However, when the app start I get error:

library “/system/vendor/lib64/libOpenCL.so needed or dlopened by myJNI.so is not accessible for the namespace …

I googled and found the error is caused by: Android sandbox prevents vendor `.so` access.

I want to know how to deal with this difficlty?

Many thanks.

Yixun
