Problem running OpenCV4Tegra on Google Tango tablet

I am trying to run OpenCV application optimized for Tegra devices. I got OpenCV4Tegra pre-built binarries and were able to compile the examples. However, when trying to run applications, a message pops put saying “Cuda compatible device was not found”. As Tango is powered by K1 GPU, I was wondering why it is not detected.
Note that when I download pre-built apk files on the device, there is no problem and every thing goes well. I can even enable and disable GPU from within the application.

Now my question is how to cross-compile OpenCV applications that can run under Tango tablet. Or how the demo apps are built that can successfully run?

Thanks for your response.