method references are not supported in -source 7 (use -source 8 or higher to enable method references)
Answered
I downloaded the library from the github (https://github.com/jitsi/libjitsi/releases), unzipped archive, added directory to my project, marked directory as source root and received error:
Error:(551, 55) java: method references are not supported in -source 7
(use -source 8 or higher to enable method references)
how can i fix it?
Please sign in to leave a comment.
Change the module language level to 8, see https://stackoverflow.com/a/12900859/104891 for the relevant screenshots.