i cleaned my android project and now im getting this error saying i need to put import android.R;
at the top, when i do that it then says that any field isnt visible, for example i have this line of coding
setContentView(R.layout.inbox);
when i hover over the error mark i get
Multiple markers at this line
- Inbox cannot be resolved or is not a field
- R cannot be resolved to a variable.
Im getting this on all of my Activity
UPDATE:
some errors from my XML that is causing the R.java to not be rebuilt durring the cleaning proces
Description Resource Path Location Type
error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/friendrowbg'). friendslistselector.xml /atmebeta/res/layout line 8 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'background' with value '@drawable/friendslistselector'). friend_row.xml /atmebeta/res/layout line 1 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/friendrowbg'). friendslistselector.xml /atmebeta/res/layout line 2 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/friendrowbg'). friendslistselector.xml /atmebeta/res/layout line 6 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'listSelector' with value '@drawable/friendslistselector'). friends.xml /atmebeta/res/layout line 29 Android AAPT Problem