Execution failed for task ':app:transformClassesWithDesugarForDebug'


#1

I am using ionic for my mobile application. When I am using

ionic cordova build android

getting following error :

* What went wrong:
Execution failed for task ':app:transformClassesWithDesugarForDebug'.
> com.android.build.api.transform.TransformException: java.lang.Runtime

How can I fix this build issue ? I tried :

cordova clean android

But no luck issue is still existing. Please suggest one solution to fix this issue.