I know they changed how the constants in the resources class are stored in ADT 14 but how do I then get the id of an xml item since r.id.item gives an error now?
for example this gives me an error
mPager = (ViewPager)findViewById(R.id.pager);
this is my xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<android.support.v4.view.ViewPager
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/pager"/>
</LinearLayout>
I suggest there is a different problem or you should clean your projects.
http://tools.android.com/recent/buildchangesinrevision14
Implies that the only problems you should encounter are using Id’s for switches in library projects.
My personal experience is that things are fine (even in library projects, except switch)
Past some code or an error to get more help