All Possible problems, errors and warnings in Eclipse while
developing Applications:
Probable Problem 1:
“Project missing” !
“R.java missing” !
Solution:
Goto project ->
clean
Probable Problem 2:
If emulator does not start !
Solution:
Solution 1: uncheck “Launch
from snapshot” and click Launch.
Solution 2: Check the Android SDK path we set before. If
there is any blank spaces in the pathname just remove those spaces. Our path
should not contain spaces !!
Probable Problem 3:
If any emulator communication problems or device problems
occur !
Solution:
If so then the problem is in ADB, hence go to Window ->
Open perspective -> Other -> DDMS -> Ok.
In the devices menu select “Reset ADB”
Probable Problem 4:
Cannot see the log messages of Android device !
Solution:
Go to Window -> Show view -> Other -> Android ->
Logcat.
Probable Problem 5:
If “@override” shows error !
Solution:
it means that the compiler is not affording the program. So
change the Compiler level to 1.6. For that go to Properties -> Java compiler -> Compiler
compliance level -> 1.6
Probable Problem 6:
“missing imports” !
“Cannot be resolved to a variable” !
Solution:
Right mouse click on the editor Source -> Organize imports .
And import right packages





No comments:
Post a Comment