Is it my code or is running Eclipse on Ubuntu linux (or any other distro variant) causing this error message to show very often? Either when trying to compile, build project, or an equivalent, the error comes from the IDE itself. I read many questions in here that asking about maybe the same case that I have, like if the error message shows up you need to restart Eclipse and the error won't appear again.
Now I have one project thats using @override
code like OnCreate
, OnPause
, OnStop
and others on my script MainActivity.java
. There is nothing wrong with the code, but everytime I try to run it as an android application, Eclipse shows an error like this:
Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/annotation/AnimRes;
Why is that? Has anyone had the same problem and discovered the answer? Many thanks.
Regards, Indra.