I have an import that cannot be resolved. I have renamed my package and the come example within the src file.
The name of my package is Time Calculator and the name of my com.example is com.example.TimeCalculator. I have renamed my androidmanifest and the XML file goes as this
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.TimeCalculator"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="15" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.TimeCalculator.MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
I am not sure why this import cannot be resolved, I basically just renamed a previous project. Sorry I am quite new to android and eclipse.
import com.example.TimeCalculator.R;
This is the import that cannot be resolved.
Just to add I get this error in the console at the bottom of eclipse
[2013-04-23 18:19:38 - Time Calculator] Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.