Directory:

  1. Release notes
  2. Content of the error
  3. The solution

I. Version description

Native OS: Mac Android Studio: 3.6.2Copy the code

2. The project works normally, but the following error occurs when packaging

 Caused by: org.gradle.api.internal.artifacts.ivyservice ...
Copy the code

Solutions for referencehere

3.1 The top menu, selected in turn, and finally as shown below

View --> Tools Window --> Gradle --> Toggle Offline Mode
Copy the code
Note ⚠️⚠ you need to click the Toggle Offline Mode icon with a gray background

3.2 Continue, top menu, click one by one

    File --> Sync Project with Gradle Files
Copy the code

3.3, rebuild the project, you can successfully package ✌️

Write to oneself essay, have a question welcome to point outCopy the code