Software⏱️ 2 min read📅 2026-06-11

How to Fix: When I try to update Android Studio I get " error resolving packages "

Error resolving packages in Android Studio update on Ubuntu 18.0.4

Quick Answer: Try updating the Android SDK and Emulator using the Android Studio SDK Manager or by manually downloading and installing the required packages.

Error Resolving Packages in Android Studio

The 'error resolving packages' issue is a common problem that affects users of Android Studio, particularly those using older versions. This error occurs when the package repository fails to resolve the required packages for Android Studio to function properly.

💡 Why You Are Getting This Error

  • Insufficient Package Repository Updates
  • Corrupted or Incomplete Package Repository

🛠️ Step-by-Step Verified Fixes

Updating Package Repository Manually

  1. Step 1: Open a terminal and run the command 'sudo apt update' to update the package repository.
  2. Step 2: Run the command 'sudo apt install -y android-sdk-platform-tools' to reinstall the Android SDK tools.
  3. Step 3: Restart Android Studio after completing the above steps.

Reinstalling Android Studio

  1. Step 1: Download the latest version of Android Studio from the official website and save it as a .zip file.
  2. Step 2: Open a terminal, navigate to the location where you saved the .zip file, and run the command 'unzip android-studio.zip' to extract the files.
  3. Step 3: Delete the existing Android Studio installation directory and move the extracted files into the correct location.

🎯 Final Words

By following one of the above methods, you should be able to resolve the 'error resolving packages' issue in Android Studio. Remember to update your package repository regularly to avoid this problem in the future.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions