Error after gradle plugin updating to 3.1.2

android

(Tim) #1

After gradle updating to 3.1.2. can’t generate signed apk in Android Studio

after ./gradlew :app::transformClassesAndResourcesWithProguardForGoogleplayRelease --info
see this

Task :app:transformClassesAndResourcesWithProguardForGoogleplayRelease FAILED
Putting task artifact state for task ‘:app:transformClassesAndResourcesWithProguardForGoogleplayRelease’ into context took 0.0 secs.
Up-to-date check for task ‘:app:transformClassesAndResourcesWithProguardForGoogleplayRelease’ took 0.084 secs. It is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task ‘:app:transformClassesAndResourcesWithProguardForGoogleplayRelease’.

:app:transformClassesAndResourcesWithProguardForGoogleplayRelease (Thread[Task worker for ‘:’,5,main]) completed. Took 0.112 secs.

after ./gradlew :app::transformClassesAndResourcesWithProguardForGoogleplayRelease --stacktrace
see this