I am a newbie to Android development. I am having trouble building a project.
Revision 836, Oct 8 2012
Eclipse classic : Version: 4.2.0 Build id: I20120608-1400
Android SDK: 4.1.2 API 16
After I imported the WordPress Android project. I got lots of errors.
see here: errors screenshot
I set:
default.properties
target=android-16
AndroidManifest.xml
<uses-sdk
android:minSdkVersion=”8”
android:targetSdkVersion=”16” />
It doesn’t work.
The error is caused by override, so I guess it didn’t find the right lib and class.
How do I setup the project?
Check your Java Compiler Compliance level, Eclipse defaults this to 1.5, which can only Override superclass methods (which is what your error log shows is the problem). If your project Overrides interface methods then you will need to change this to 1.6.
You can change this by: