No cached version of com.android.tools.build:aapt2:3.6.1-6040484 available for offline mode
问题 Is there any offline option present in gradle setting of the latest version of android studio ? 回答1: Just disable gradle offline mode and try, will work fine. To disable offline mode in Android Studio 3.6.1 Click on gradle window (on right side of studio) Select the project Click Toggle Offline Mode button (disable here) 回答2: Check the SDK version installed in android studio in starting configure SDK manager and check that what version of android is installed.Install other version of android