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

BlogReader app error with (picture of it)

One more thing my app wont run in the emulator? any idea? http://imgur.com/ZdyNASO

maybe the link?

You can try "clean gradle" and restarting the emulator. If the error persists then check the logcat, it probably will show why.

cleaned project and got this

http://imgur.com/obTqJ0u

Can you scroll up and take a picture of the 1st error you see in the logcat ?

2 Answers

Change LogException to Log.e(TAG,"Exception caught: ", e);

And I said.... findViewById(R.id.ProgressBar); not... findViewById(ProgressBar)

Edit: Also can I see your manifest file? It seems that you have done changes in it.

Thanks you very much :D :D :D Manifest file http://imgur.com/AO8uhnX

Ok everything is all right there. It seems your problem is solved. Congrats!

Can you paste your whole main code somewhere like pastebin ,don't forget to choose highlight java, and give us the link?

Try changing line 53 to... mProgressBar = (ProgressBar) findViewById(R.id.ProgressBar);

you wrote R.id.progressBar instead.

:D I added the following code: mProgressBar = (ProgressBar) findViewById(R.id.ProgressBar);

But now it gave me this error?

http://imgur.com/mU6hIQC

Select import and let me know how it goes.