On Jul 7, 1:07 am, Demetris <[email protected]> wrote:
> Hi all,
>
> I generated a standard Android under Eclipse (using the plugin) and I
> imported code from an existing project (J2SE-based). I was able to
> iron out all the complaints from the Android SDK 2.1 (compile errors).
> However, the runtime (emulator startup) the IDE displays a message
> saying that the project contains errors, please fix them before running
> it. But all that there is there are warnings - is Android "unforgiving"
> about Java warnings or is there something else I should be looking into
> in there - no class has any compile errors.
>
> Thanks

Without seeing the exact Eclipse error output, I am assuming the
following.
When you view your project in the package explorer window, your
project has
    an error X icon next to it, but looking at the project tree
structure there is no offending
    error X icon next to any other directory. So I going to suggest a
shotgun approach
    to fix your problem, probably all you have tried.

    1)The always first move that I always do is clean the project,
sometimes the Eclipse ADT gets a little confuse about the state of the
project.

    2) Since you imported the project from another source project,
check the AndroidManifest.xml file for incompatibility problems
       makes sure is the attribute tag android:minSdkVersion if
defined is appropriate for the project.

    3) Then there is the hidden .project file that ant uses to build
the project, make sure that file exist because if it does not,
       it will give you the exact same symptoms that you have
describe. It should have been create for you by the Eclipse IDE when
       you created an Android project.

     And about Android warnings, my projects have a lot of them ;-)
but this has never caused the emulator to start up, so unless
     you have some special flag set that I have never heard of I don't
think that the warnings would abort an emulator launch.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to