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

Lost files!

My 4 year old sister was playing on my computer and she somehow got into the disk cleanup controls. She somehow deleted some files i need in eclipse to work on my Crystal Ball app that I was working on. I am new to eclipse and programming so I'm not sure what files she deleted. Is anyone able to help me with this problem? This is what my console says when I try to run the app on the emulator,

[2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:28: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.Solid'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid.Inverse'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:122: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:125: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:129: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.CloseMode'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:133: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.CloseMode'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:137: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.Overflow'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:141: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.Overflow'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:44: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabBar'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:52: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar.Inverse'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:56: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabView'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:60: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:64: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView.Inverse'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:68: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabText'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:72: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:76: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText.Inverse'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:80: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionMode.Inverse'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:104: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:108: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:112: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title.Inverse'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:116: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle.Inverse'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:84: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Menu'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:88: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:92: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:96: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title.Inverse'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:100: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle.Inverse'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\styles_base.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar.Horizontal'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\styles_base.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values\styles_base.xml:248: error: Error: No resource found that matches the given name: attr 'android:dropDownHorizontalOffset'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values\styles_base.xml:247: error: Error: No resource found that matches the given name: attr 'android:dropDownVerticalOffset'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:159: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Spinner'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:161: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.Spinner'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:153: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.DropDownItem.Spinner'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:156: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.DropDownItem.Spinner'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:147: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListView.DropDown'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:150: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListView.DropDown'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values\styles_base.xml:307: error: Error: No resource found that matches the given name: attr 'android:dropDownHorizontalOffset'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values\styles_base.xml:306: error: Error: No resource found that matches the given name: attr 'android:dropDownVerticalOffset'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:167: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListPopupWindow'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values\styles_base.xml:315: error: Error: No resource found that matches the given name: attr 'android:dropDownHorizontalOffset'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values\styles_base.xml:314: error: Error: No resource found that matches the given name: attr 'android:dropDownVerticalOffset'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:171: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ListPopupWindow'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:175: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.PopupMenu'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:178: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.PopupMenu'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:182: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:186: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:190: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:194: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:200: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Holo.SearchResult.Title'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:204: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Holo.SearchResult.Subtitle'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:212: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Holo.SearchResult.Title'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:216: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Holo.SearchResult.Subtitle'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\styles_base.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.AutoCompleteTextView'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\styles_base.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.AutoCompleteTextView'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:225: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\styles_base.xml:224: error: Error: No resource found that matches the given name: attr 'android:showDividers'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\themes_base.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\themes_base.xml:33: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\themes_base.xml:40: error: Error: No resource found that matches the given name: attr 'android:windowActionModeOverlay'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\themes_base.xml:49: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\themes_base.xml:51: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\themes_base.xml:58: error: Error: No resource found that matches the given name: attr 'android:windowActionModeOverlay'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:41: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:57: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:67: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:94: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\themes_base.xml:66: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Dialog'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v11\themes_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.Dialog'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:122: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.DialogWhenLarge'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:133: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:148: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DialogWhenLarge'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\appcompat_v7\res\values-v14\themes_base.xml:159: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'. [2014-08-07 12:21:47 - CrystalBall2] C:\Users\User\workspace\CrystalBall2\res\values-v11\styles.xml:9: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.

1 Answer

Jimmy Hsu
Jimmy Hsu
6,511 Points

That's strange, disk cleanup should delete those files. If you have them on a Git repository, you can just do a revert.

It seems like you're just missing specifically XML files. Have you tried checking to see if those files still exist?

Lastly, what I suspect is your compile with got reset to something else. The likely issue is your 'compile with' setting is mismatched with your target SDK version. Try setting the 'Compile With' to the same as the target SDK.

Should be in project configuration somewhere in your IDE.

I got it working now! Thank you!