[HELP] Gradle plugin 5.1.1 - com.android.ddmlib.InstallException: INSTALL_FAILED_DEXOPT

Hello,
I’m receiving this error:

com.android.builder.testing.ConnectedDevice > runTests[test(AVD) - 5.1.1] FAILED 
	com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_DEXOPT

You can see it here.
Also, this is my travis.yml script (that was working before updating gradle plugin).

Can you give me some hints about this problem, is it a missing configuration?
Thanks.

Imprint