Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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...

ٍsourse:stackoverflow

Tomer Bahar
Tomer Bahar
1,336 Points

After creating a new file the problem was solved.

Thank you for your help.