Hello, maybe it’ll help: the similar messages about “No cached version of com.android.tools.build:aapt2:3.6.3-6040484” I’ve seen when “Off-line mode” for Gradle plugin in Android Studio was on.
By the way, project build.gradle had such settings
ext.kotlin_version = “1.3.61”
…
classpath ‘com.android.tools.build:gradle:3.6.3’
After disabling off-line mode and increasing kotlin version to 1.3.72, all problem’s disappeared.