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 Build a Simple Android App (retired 2014) Getting Started with Android Java Variables Explained

I'm having trouble with this exercise. when I type the letters appear in different places and I cant continue

I'm pretty sure that I have typed everything the way it is suppose to be but I cant continue. when I type the letters appear in different places and I cant see the preview either.

Justin Horner
Justin Horner
Treehouse Guest Teacher

Hello Alex,

I completed the challenge successfully to test your situation. Everything worked as expected when I tried it. Would you mind explaining further? Also, it wouldn't hurt to show the code that you have written.

Thanks!

Sure I'll do it right now n I'll just copy and paste in a moment

and thank you for helping me out

What I typed was

string favoriteColor = "Blue";

1 Answer

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Thank you for providing your code!

The type should begin with a capital letter. So in the case you should type "String" instead of "string". Give that a try first.

I hope this helps

I got it thank You!!!! by the way.... when you type, do the letters appear in different places? is that when I type the letters appear a few spaces behind. like if I'm going to type -Blue- in the " " I would end up typing -Blue- before -favoriteColor- or in between? I don't know if it's only me or if others also go through it ?

Justin Horner
Justin Horner
Treehouse Guest Teacher

You're welcome! I can't say I've experienced that behavior before.

One small tip: If you are using a laptop and mouse, you may want to consider disabling the track pad while the mouse in use. If you don't, it's easy for your arms to touch the track pad just enough to move your cursor while you're typing and it is super annoying.

I guess I'll try that thank you!