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 trialTarun Chattoraj
244 PointsError in Eclipse: appcompat_v7
First time into Eclipse. Going through the Crystalball app. Even before I create a new app Crystalball, I get three errors in appcompat_v7.
- Attribute is missing the Android namespace prefix in abc_search_dropdown_dark.xml at the following line: <stroke android:width="2dp" color="#A00080FF"/>
- Same error but in abc_search-dropdown_light.xml at:<stroke android:width="1dp" color="#A00080FF"/>
- Wrong orientation? No orientation specified, and the ... in the abc_action_bar file at <LinearLayout android:id="@+id/top_action_bar"
I did not change any of these files, but Eclipse started this way. Any help would be appreciated. -tkc
1 Answer
Lewis Eccles
Courses Plus Student 1,116 PointsAppcompat is for compatibility for android devices that don't support higher level features.
At a best guess the required api level chosen for your project doesn't support the abc_search-dropdown_light.xml and abc_search_dropdown_dark.xml
Change the lowest level api the app requires to run and it might fix this because it won't need the Appcompat files.