I have tried nearly everything to get the R.java file to reappear and nothing has worked yet. The src folder and the AndroidManifest.xml file both have an error icons next to them.
I get the following error from the Manifest file...
"error: No resource identifier found for attribute 'installLocation' in package 'android'"
I get the following errors from some .java files in the src folder...
"R cannot be resolved to a variable"
In these .java files the "R" is underlined with a red squiggle.
I have tried the following and none of these methods have worked...
- Cleaning & Rebuilding the project
- Removing the "import Android.R" statement
- Renaming the project and changing it in the Manifest file
- Checking to ensure that the res/drawable files are lowercase
- Check that my package declaration in your AndroidManifest.xml matches package name
- Restarting Eclipse
- Ticking Android Version Checkbox in the Java Build Path
- Installing the correct SDK Platform
Any suggestions??
EDIT:
Here's the manifest file...
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.jfedor.frozenbubbleupdate"
android:installLocation="preferExternal"
android:versionCode="8"
android:versionName="1.7" >
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
<uses-sdk android:minSdkVersion="2" />
<application
android:icon="@drawable/app_frozen_bubble"
android:label="@string/app_name" >
<activity
android:name="org.jfedor.frozenbubbleupdate.FrozenBubble"
android:alwaysRetainTaskState="true"
android:configChanges="orientation|keyboardHidden"
android:label="@string/app_name"
android:launchMode="singleInstance" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="org.jfedor.frozenbubble.GAME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>