I am using ADT 23.0.2. I just imported the google-play library to my workspace and added the reference to it in my project.
Now nowhere in my project the resource ids can be recognized because there is no R file. (Anywhere I have R.id.blah I get the error "R cannot be resolved to a variable);
It's just gone. What am I supposed to do? I exactly followed the steps by developers.google.com. It's nothing complicated but I don't know why this happened.
(I have all layout files in place and no import for android.R are in my class files.)
Before adding the Tools I use:
Here are screenshots from my app properties:
My manifest
<permission android:name="com.appname.appname4.MAPS_RECEIVE" android:protectionLevel="signature"> </permission> <uses-permission android:name="com.appname.appname4.MAPS_RECEIVE"/>
<activity android:name="com.appname.appname4.MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.appname.appname4.SearchResultListActivity" android:label="@string/title_activity_search_result_list" android:parentActivityName="com.appname.appname4.MainActivity" > <!-- Parent activity meta-data to support 4.0 and lower --> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.appname.appname4.MainActivity" /> </activity> <activity android:name="com.appname.appname4.ContactInfoActivity" android:label="@string/title_activity_property_detail" android:parentActivityName="com.appname.appname4.SearchResultListActivity"
>
</manifest>