Reputation: 953
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 message came out, the problem even cannot launch. It said one operation left, but it seems like it has stopped. Have anyone met the similar problem before, or anyone know what is happening here?
Upvotes: 42
Views: 49911
Reputation: 121
I had the same issue. In my case the problem was I had so many files in my project. I was working working on a corpus and the corpus had more than 88000 files. I moved the files to outside of the project and everything started working as normal.
Upvotes: 0
Reputation: 1
For me the issue was due to incorrect build path of the maven project. Try configuring the build path and include only what is actually required is what i learnt. My parent maven project had 10+ child modules. My eclipse would take 3-4 mins waiting for background process for every file save. I removed [parent module]/src from the build path and restarted eclipse and issue got fixed.
Upvotes: 0
Reputation: 3323
Go to Project Menu Uncheck the Build automatically and Restart the Eclipse/STS IDE.
Upvotes: 0
Reputation: 1140
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.
Upvotes: 0
Reputation: 1
I ran into this issue and the reason was there was one project it was not build correctly. so if you ran into this issue in an existing working workspace review the recent changes or recently imported projects.
Upvotes: -1
Reputation: 31
This method worked for me:
Hope this'll help!
Upvotes: 3
Reputation: 449
I got this solved by removing <workspace_folder>/.metadata/.lock
file.
Upvotes: 2
Reputation: 3031
this can be due to installing another software with port setted equivalent to the port used by adb server
adb hangs when trying to start or stop server
Upvotes: 0
Reputation: 4767
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.
Upvotes: 1
Reputation: 399
I had to disable the automatic build option from the Eclipse and restart it. This made it work for me.
Upvotes: 3
Reputation: 333
I had the same problem: dying waiting for Project/clean. I have tried following this recommandations, "-clean" comman in eclipse.ini, modified the working environment, reinstall eclipse... After all, problem stayed still.
Then finally, I ask my friend, then the solution was simple: "it might be crashed at your aapt file, change it with a good one"
Everything works fine now. Hope it helps.
Upvotes: 1
Reputation: 1499
For me the clean option didn't work and I didn't want to reset the workspace. Fortunately for me another solution worked:
Oh yeah, I had the clean option in the eclipse.ini the entire time. Not sure if that is necessary, but it might be good to try that option first anyways.
Upvotes: 20
Reputation: 428
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
Upvotes: 27