Inoic: app.transformClassesWithDesugarForDebug’

This happened when the app uses google android services packages.

In platforms/android/project.properties, normally like this:

target=android-26
android.library.reference.1=CordovaLib
android.library.reference.2=app
cordova.system.library.1=com.google.android.gms:play-services-base:11.0.4
cordova.system.library.2=com.google.android.gms:play-services-ads:11.0.4
cordova.gradle.include.1=cordova-plugin-extension/starter-rjfun-libs.gradle
cordova.system.library.3=com.google.android.gms:play-services-ads:+

change to version number to +:

target=android-26
android.library.reference.1=CordovaLib
android.library.reference.2=app
cordova.system.library.1=com.google.android.gms:play-services-base:+
cordova.system.library.2=com.google.android.gms:play-services-ads:+
cordova.gradle.include.1=cordova-plugin-extension/starter-rjfun-libs.gradle
cordova.system.library.3=com.google.android.gms:play-services-ads:+

Source below:

Written by

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store