Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Creating and Running a Virtual Device

Tomer Bahar
Tomer Bahar
1,336 Points

Emulator: Run/Debug configuration button shows a red X

Hey guys.

After installing Android Studio I've notice that there is a red X sign on the Run/Debug configuration button. In the instructional video there wasn't red X.

When I clicked on the Run/Debug configuration button the red X was there in the left column. I've noticed that I didn't have an "Emulator" tab to click on, in the upper right area of the screen and in addition to that, at the bottom of the screen I saw the following warning:

"Warning: Default Activity not found"

I would love to get some clarification on the matters in order to proceed with the "Getting Started With the Android Emulator" class.

Thanks guys!

2 Answers

Muhamed Asil
Muhamed Asil
7,453 Points

If you see that error occur after upgrading your IDEA, upgrading Android Studio version, or Generating a new APK, you may need to refresh the IDE's cache.

File -> Invalidate Caches / Restart...


Tomer Bahar
Tomer Bahar
1,336 Points

After creating a new file the problem was solved.

Thank you for your help.