As the title mentioned, I have developed a simple NFC app in eclipse and I am trying to run it in the mobile device to debug my code. However, when I try to run it, this mes
I had the same issue and I applied what the fellows had advised however it didn't work. I figured out that there were some folders under target-->classes directory that neither myself nor the IDE was able to clean/delete..
I restarted the machine then started the IDE and everything worked just fine.
I had exactly the same problem. For me helped adding '-clean' option at the first line of eclipse.ini file and restarting IDE. After adding this option eclipse clean all cached data in workspace each time it is started (that also mean it will be starting slower).
You can find more information about it here: How to repair hanging 'User Operation is waiting for “Building Workspace”' in eclipse
I had to disable the automatic build option from the Eclipse and restart it. This made it work for me.
It can also be an indication that the JDK setting is wrong in Eclipse. In my case, I was pointing to a specific directory on my work computer. The IT people upgraded the JDK and put it in a different directory so the old path was no longer valid. Eclipse did find a JRE in a parallel directory and was trying to use that.
I fixed the JDK setting and it worked.
I didn't notice at first because I had "build automatically" turned on. Once I turned it off then tried to run a Maven build, then I saw an error message saying javac couldn't be found.
I got this solved by removing <workspace_folder>/.metadata/.lock
file.