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 Build an Interactive Story App (Retired) Intents and Multiple Activities Adding a Second Activity

cheng yiu ming
cheng yiu ming
Courses Plus Student 1,376 Points

After delete an activity, i can not create a new one

I create a wrong StoryActivity with the launch function.I deleted it in order to make an new StoryActivity. But the Android studio shows nothing when i create a new activity.

I try to create a new java class in the package, it works. But cannot create any activity in the package.

Could you shed me the light to solve this problem? As i could not find any related solution in the Stackflow. Thanks a lot!

Seth Kroger
Seth Kroger
56,407 Points

Are you able to share a screenshot? Particularly when you are trying to create a new Activity?