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

sharad kakran
PLUS
sharad kakran
Courses Plus Student 704 Points

weather app not running

I made a weather app as per the tutorials, but when i run it finally it doesnt work , neither on emulator nor on my mobile. It was running in starting but after writing java classes it stopped. I downloaded the project zip file also and checked it on my mobile, but its not running as well. targetsdkVersion is 20 compilesdkVersion is 20

Harry James
Harry James
14,780 Points

Hey Sharad!

What do you mean by it's not working? Do you see the message "Stormy has stopped" when you try to run the app or can you just not get it to install at all?

On your emulator (Or if you have your device plugged in), check to see if you get an error in the logcat and if you do, post it here and I'll take a look for you :)


Speak to you soon!

sharad kakran
sharad kakran
Courses Plus Student 704 Points

hey Harry, after running it on emulator, it runs for a while but doesnt show any temp details. It was in middle of retrieving information only when a message pops up saying "unfortunately stormy has stopped". And its not showing any error in logcat either. Logcat screen is completely blank

Harry James
Harry James
14,780 Points

Hey Sharad!

The logcat window isn't fantastic in Android Studio and shouldn't be blank (I get that problem sometimes as well).

You should be able to see the error after setting the filter to No filter in the Logcat:


If you then manage to get the error up, post it here and I'll take a look for you :)