Software⏱️ 2 min read📅 2026-05-30

How to Fix: Error type 3 Error: Activity class {} does not exist

Error type 3 Error: Activity class {} does not exist in Android Studio.

Quick Answer: Check if the new launcher activity is correctly declared in the manifest file and ensure it extends the correct Activity class.

The error 'Error type 3 Error: Activity class {} does not exist' occurs when the Android Studio is unable to find the specified activity in the project's manifest file. This issue typically arises when you have updated your launcher activity and haven't updated the corresponding intent filter in the manifest.

🛠️ Step-by-Step Verified Fixes

Method 1: Update Manifest File

  1. Step 1: Open the project's manifest file (usually AndroidManifest.xml) and locate the intent filter for your launcher activity.
  2. Step 2: Update the intent filter to match the new launcher activity class. Ensure that the action, category, and package name are correct.

Method 2: Clean and Rebuild Project

  1. Step 1: Go to File > Invalidate Caches / Restart (or press Ctrl+Shift+Alt+F10 on Windows) to invalidate the project's caches.
  2. Step 2: Rebuild the project by clicking on the 'Rebuild Project' button in the top-right corner of the Android Studio window or pressing Shift+F9.

💡 Conclusion

By following these steps, you should be able to resolve the 'Error type 3 Error: Activity class {} does not exist' issue in your IntelliJ Android project.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions