I generally get that error when I delete the application manually from adb shell prompt and then install it via Eclipse. I think the problem is that the application does not get properly installed. I mean maybe it gets copied to /data/app but is not registered with the application(probably some list that PackageManager maintains). It is an ADT bug, IMO.
To get around this, I change something in the source file(add spaces and save) and then deploy the application on the emulator and it works. If this doesn't help, try one or all of following:
1. exiting eclipse
2. killing and restarting adb
3. closing the emulator.
Hey guys thanks for the help,Whenever i get it i just exit eclipse and restart it again that does the trick,But the reason behind its occurrence is still unclear to me anyways thank you guys and can you suggest a project for me to work to improve my knowledge on android eg a mobile ticketing app
For an activity its not mandatory to define the "android:label" attribute as long as the application node has a "android:label" attribute defined because android looks for a label when displaying a particular activity if it does not find one defined for the activity then it takes the one defined for the application.However you cannot avoid defining "android:label" attribute for application node because if you try Eclipse would point the error and wont let you run the program.
The problem "New package not yet registered with the system. Waiting 3 sec" has nothing to do with this labeling and is solvable the way Monu Tripathi Suggested.
subject: [2010-08-16 10:31:07 - HelloDatePicker] New package not yet registered with the system