Couldn't find transform api?

Hi guys, I’m new to gradle, and now I’m trying to use the transform api to build a bytecode manipulation plugin. However after I 've finished all the other parts, I encountered this problem:


I’ve already registered the transform api in my plugin to, I don’t quite understand why the error happens, can anyone plz help?
the stacktrace is damn long and I found this log:"Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.android.tools.build:transform-api:1.5.0.
"
THANKS!

You haven’t really provided enough information for someone to try to help you. There’s not enough Gradle configuration here for someone who hasn’t had the exact same error to try to recreate the problem.