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 a Simple Android App (retired 2014) Pretty Little Things Customizing Buttons and Labels

Jonathan Buettner
Jonathan Buettner
1,139 Points

Properties isn't editable, need API 18

I've looked into this issue, seems like there's a bug with Mountain Lion and Maverick. It may be the current version of Eclipse too. Basically the properties box isn't editable. I can't change font size, color, or anything. I need to revert back to API 18 but the current versions of Eclipse doesn't have any previous versions. I've looked for previous versions but haven't had any luck. What's the solution?

3 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

This is an annoying bug that keeps popping back up! You can download API 18 using the SDK Manager (it's the Android button in the toolbar with the down arrow), or you can edit the XML directly to change properties. I'm usually in the XML view myself.

Erin Kabbash
Erin Kabbash
5,210 Points

I am on WIndows 8.1 and I cannot edit the properties either via the properties window. When I try to click the empty space nothing happens?

I went in and edited the XML directly. Here is the code for anyone that maybe stuck: android:textSize="24sp" android:typeface="serif" android:textStyle="bold|italic"

To fix the issue do we just install whatever is checked in the Android SDK manager? Most of the items I see are labeled 19.

Erin Kabbash
Erin Kabbash
5,210 Points

I figured it out.. Follow the below for anyone else having issues:

Go to the android SDK manager next to the emulator button in Eclipse. When it opens it will have a bunch of stuff with check marks in them already, most of them for me right now were labeled with a revision or API number of 19. Click install packages and it will start installing.. Make sure to close eclipse because when it installs it will update some of the eclipse files. Once it is done relaunch eclipse and BAM! The problem is fixed!! Hope this helps!!

I also found this link which was helpful to read: http://developer.android.com/tools/help/sdk-manager.html