I think you should have something like this for your configuration:
(setq TeX-view-program-selection '((output-pdf "PDF Viewer"))) (setq TeX-view-program-list '(("PDF Viewer" "okular %o")))
I'm not sure if this is okular-unique - this is the name of the program - in this case, just replace okular with okular-unique.
source share