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 Self-Destructing Message Android App Starting the App Adding the Login Screen

v13 includes v4, using only v13.

Hi When I add a plain text field in eclipese

I get this error message

Because v13 includes v4, using only v13. WARNING: Found both android-support-v4 and android-support-v13 in the dependency list. Because v13 includes v4, using only v13.

Do you know how to fix this please?

Many thanks for your help

2 Answers

If anyone else need help with this.

Check the "Android version to use when rendering layouts" and make sure you're not using a version that ends in "W" for Android Wear (e.g. API 20: Android 4.4W). I don't believe Wear supports EditText.

In both Android Studio and Eclipse, it's the dropdown with the green android in the layout preview's toolbar. You may want to set it explicitly and not allow the IDE to choose the Android version automatically.

http://stackoverflow.com/questions/24501042/android-app-in-eclipse-edit-text-not-showing-on-graphical-layout

Oh it sounds like you might want to look at your build path. I'm rusty and haven't been on Eclipse in a minute but you right click either the top level of the project directory or else you might need to click near where you will see the folders referencing Androidx.x.x whatever numbers...in the drop down look for editing the build path or if you want to make things easier just delete the v4 library from within your SDK manager.