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

Problems with ECLIPSE IDE

Followed instructions and compile the simple Android app, until I got to changing the color of the text, or basically changing any property in the property window. I get a pop up that contains completely unrelated items, definitely not color it contains the widgets and objects in the application, and choosing one does nothing... worst it includes the object description name and then you do have an error

This happens with all menus. I cannot change color unless I do it in the XML, but of course I need to remember all the values.

Same happens for all values that contain drop downs.

I also get error on error log - Null pointer exception on properties... Always get this, no matter PC or MAC install.

Ran your script, emulator runs ok, changes ok, intellisense ok.Version of Java OK, What could it be?

3 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

There are a few known issues with Eclipse and editing properties for graphical layouts. It sounds like your best bet might be to switch to the XML view to make the edits.

You can define color resources that you can use in your layouts. We don't cover that yet in our projects, but you can read up on how to do it here.

That would work.. ok, I'll stick to XML for most of the definitions. Thanks for your answer!. Is there another IDE that I can use to develop Android Apps?

Ben Jakuben
Ben Jakuben
Treehouse Teacher

I'd also recommend trying out Android Studio. It is a beta release, so it has some bugs, but it's a pretty good editor and should only get better. I just released a project about it and a few other tools: http://teamtreehouse.com/library/android-tools

I had problems on Linux using Eclipse. It had to do with the Java. I decided to use Bluefish. I don't know if that is available for your operating system but it sure is a great program. Hope this helps. It might or might not depending on your operating system.