Unable to get OpenCV-2.4.8.2-Tegra-sdk tutorial 4 (CUDA sample) to work

I’m trying to use Android Studio to import the tutorial-4-cuda project that is packaged with the OpenCV-2.4.8.2-Tegra-sdk, however I keep getting an undefined reference error involving the call to cv::gpu::FAST_GPU. I know that this project works on the Shield tablet, which is what I am developing for, because I am able to push the .apk to the tablet. However, I develop using Android Studio (it is the supported IDE by Android) and there is no documentation from NVIDIA on how to use the Opencv samples for Tegra within the Android Studio IDE. Please help…