A problem occurred configuring root project 'Battery'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:3.6.1.
Required by:
project :
> No cached version of com.android.tools.build:gradle:3.6.1 available for offline mode.
> No cached version of com.android.tools.build:gradle:3.6.1 available for offline mode.
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61.
Required by:
project :
> No cached version of org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61 available for offline mode.
> No cached version of org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61 available for offline mode.
> Could not resolve com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.10.0.
Required by:
project :
> No cached version of com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.10.0 available for offline mode.
> No cached version of com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.10.0 available for offline mode.
让人头大~并且脱发.
开不开心~意不意外.
传送门:https://stackoverflow.com/questions/60463052/andriod-gradle-sync-failed