Gradle - Transformation hasn't been executed yet

android unit test transformation hasn t been executed yet
failed to transform jetifier
update gradle

I just migrated my project to androidx and enabled jetifier.

Now when I want to build my project I get this error : " Transformation hasn't been executed yet " Gradle sync finishes without any error but building fails.

This task is failed to execute :

Transform org.eclipse.jdt.core.jar (org.eclipse.jdt:org.eclipse.jdt.core:3.10.0) with IdentityTransform

StackTrace :

java.lang.IllegalStateException: Transformation hasn't been executed yet
    at org.gradle.api.internal.artifacts.transform.TransformInfo.getFailure(
    at org.gradle.api.internal.artifacts.transform.TransformInfo.access$300(
    at org.gradle.api.internal.artifacts.transform.TransformInfo$ChainedTransformInfo$
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(
    at org.gradle.api.internal.artifacts.transform.TransformInfo$ChainedTransformInfo.execute(
    at org.gradle.api.internal.artifacts.transform.TransformInfoExecutor.execute(
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(
    at org.gradle.internal.concurrent.ManagedExecutorImpl$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
    at org.gradle.internal.concurrent.ThreadFactoryImpl$

My workstation :

Build: 3.3 Canary 13
Android Gradle Plugin: 3.3.0-alpha13
Gradle: 4.10.1
BuildToolsVersion : 28.0.3
Compile/Targer sdkVersion : 28

Update your wrapper to the latest version in

Mine was


and I updated to


Scheduled artifact transform fails with "Transformation hasn't been , Update your wrapper to the latest version in Mine was​. For a scheduled artifact transform, if the first transform in a chain fails, the whole build fails with Transformation hasn't been executed yet without any further context. See e.g. https://iss

This issue was related to AutoFactory library that causing the build to fail.

After digging the internet a little bit I found that replacing


in the dependencies fixes the problem.

Gradle - Transformation hasn't been executed yet, Extracted from​454728517 hasn't been executed yet at org.gradle.api.internal.artifacts.​transform. Gradle still fails with "Transformation hasn't been executed yet" #8250. Closed hungvietnguyen opened this issue Jan 16, 2019 · 5 comments Closed

Ok Guys!

I found the error. It was mine. I was trying to implement the library instead of testImplement it. I was having the error above thrown by the jetifier tasks. So I just changed it from:

implementation ""

implementation ""


testImplementation ""

testImplementation ""

Thanks Jesus! And there were 2 days...

Gradle still fails with "Transformation hasn't been executed yet", What went wrong: Transformation hasn't been executed yet * Try: Run with --​stacktrace option to Get more help at BUİLD FAILED in 1s Description "Transformation hasn't been executed yet" after upgrading a project to use android gradle plugin 3.3.0. Steps to Reproduce Use gradle 4.10.2 Use android gradle plugin 3.3.0 Use androidx with jetifier Have a unit test which us

I started getting this error without any changes, just like that.

Nothing helped but this worked for me: Deleting the existing repo, cloning it again, remove project from Android Studio and open the existing project with just cloned repo. Works fine now.

Transformation hasn't been executed yet, repositories { maven { url "" content [#7950] - Scheduled artifact transform fails with "Transformation hasn't been executed yet"​  From mobile apps to microservices, from small startups to big enterprises, Gradle helps teams build, automate and deliver better software, faster. Write in Java, C++, Python or your language of choice. Package for deployment on any platform. Go monorepo or multi-repo. And rely on Gradle's unparalleled versatility to build it all.

Gradle 5.1 Release Notes, [#7961] - Gradle 5 fails for manually added ListProperty; [#7950] - Scheduled artifact transform fails with "Transformation hasn't been executed yet"; [#7878]  It's been more than a month since the issue has been reported. Should we move off the gradle plugin, using the plain old CLI, or can we expect the fix to be released in one-two weeks so we can test our projects with Android Studio 3.0 Canary before it comes to the "stable" channel?

Gradle 5.1-milestone-1 Release Notes, IllegalStateException: Transformation hasn't been executed yet. at org.gradle.api.​internal.artifacts.transform.TransformInfo.getFailure( ). Jetifier is an AndroidX migration tool included in Android Studio 3.2 since Canary 14. It scans project dependencies and replaces references to the old support library artifacts and class names with the AndroidX equivalents.

Android Studio 3.3 Beta 4 available : androiddev, 7 Gradle - Transformation hasn't been executed yet · 7 Best Defensive Barracks Troops In Clash of Clans · 7 What does the symbol with a shield and two swords​  Transform API Starting with 1.5.0-beta1, the Gradle plugin includes a Transform API allowing 3rd party plugins to manipulate compiled class files before they are converted to dex files. (The API existed in 1.4.0-beta2 but it's been completely revamped in 1.5.0-beta1)

  • Please fully explain your answer. What additional information are you providing that is not covered in the accepted answer?