So i'm having huge problem and i need to fix it as fast as possible. I did a format of my comp and installed new version of eclipse. I imported my project as well as 2 libraries it uses. Those 2 libraries are named v7/gridlayout and actionbarsherlock/library. Under android and reference it shows that i have those 2 library included. They looked compiled just fine. But when i clean my project i get an error:
The type com.google.android.maps.MapActivity cannot be resolved. It is indirectly referenced from required .class files
at line:
public class MainActivity extends SherlockMapActivity implements ActionBar.TabListener
Ok so from some reason it seams that my application now needs to be build as google api. So i do that. Now my R file doesn't get created and i get this error:
R cannot be resolved to a variable
I think that this probably means that i have some error in my layouts but where? When i check them out i find that they all have the same error:
Missing styles. Is the correct theme chosen for this layout?
Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.
So i'm back to problem that there is something wrong with sherlock...
Any ideas?
btw: In .xml i use this as theme:
xmlns:android="http://schemas.android.com/apk/res/android"
I have the feeling that the problem lies here :
[2012-09-27 12:54:37 - com.motiviti.zmapp.MainActivity] C:\Users\mitja\Desktop \zmap\res\values-v11\styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2012-09-27 12:54:37 - com.motiviti.zmapp.MainActivity] C:\Users\mitja\Desktop\zmap\res\values-v14\styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'.