Lambda expressions are not supported in -source 1.7

I am using Ionic 3 and java JDK 1.8, below is my ionic info and JDK info

Ionic CLI : 5.2.1 (/usr/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.3
@ionic/app-scripts : 3.2.4


Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, (and 33 other plugins)


cordova-res : not installed
native-run : 0.3.0 (update available: 1.2.2)


Android SDK Tools : 26.1.1 (/home/siva.kalluru/Android/Sdk)
NodeJS : v10.20.1 (/opt/node-v10.20.1-linux-x64/bin/node)
npm : 6.14.4
OS : Linux 3.10

java -version
openjdk version “1.8.0_262”
OpenJDK Runtime Environment (build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)

javac -version
javac 1.8.0_262


After adding this plugin( I was getting the below error when I try to generate a build

mobileApp/platforms/android/app/src/main/java/cordova/plugin/nativegeocoder/ error: lambda expressions are not supported in -source 1.7
cordova.getThreadPool().execute(() -> reverseGeocode(latitude, longitude, finalOptions, callbackContext));
(use -source 8 or higher to enable lambda expressions)

In my build gradle compiler options is
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

Everywhere it is 1.8 but still it is pointing to .7 I am not able to figure it out what is happening

can anyone please help me

Same issue here. Any solutions?

The only way i figured out that you have to update Cordova-android to 8.X.X.

Hi guys, I am stuck with the same issue. Anyone found the solution ?