Hi, i am learning android development on mac and when i try to run a code on my device, the android studio says that, "Error:(41, 39) error: lambda expressions are not supported in -source 1.7 (use -source 8 or higher to enable lambda expressions)"
i have tried and updated java and i have the latest version. can someone help me to solve this? thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/78f741ce-f164-4e7f-aaeb-6ffd9944ed14%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

