Failed to build releases in Android Studio 2.3

I am getting the following error when I try to create my library module. This happened after I updated my studio to version 2.3, before that it worked fine.

Error: Execution completed for task ': ABC: dexguardRelease'.

Unable to pass object "AndroidDependency" {artifactFile = / Users /.../ Library /../ extras / android / m2repository / com / android / support / design / 25.1.0 / design-25.1.0.aar, coordinates = com .android.support: design: 25.1.0@aar , projectPath = null, extractFolder = / Users /.../. android / build-cache / 43e8b63934cde56d5e4203435db0b96a40055fac / output, variant = null, isSubModule = false, jarsRootFolder = / Users /.../. Android / build-cache / 43e8b63934cde56d5e4203435db0b96a40055fac / output / jars} 'with class' com.android.builder.dependency.level2.AndroidDependency' to class' com.android.builder.model.AndroidLibrary '

+3


source to share


1 answer


I managed to fix this issue by upgrading to dexguard version 8. Please note that gradle 3.1+ will not detect your license file in the same folder as the dexguard banner



0


source







All Articles