• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[2010-08-16 10:31:07 - HelloDatePicker] New package not yet registered with the system

 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys i am using eclipse for android development, I keep getting the following error message more often, what is the reason for this

[2010-08-16 10:31:07 - HelloDatePicker] New package not yet registered with the system. Waiting 3 seconds before next attempt.

can some1 help me with this
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pramod P Deore
Ranch Hand
Posts: 632
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this Project->Clean in eclipse, and the deploy it again.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pramod P Deore wrote:Try this Project->Clean in eclipse, and the deploy it again.

Yeah, sometimes that helps too.
 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
adam pullen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have also had this problem.

For me it was the fact that my launcher activity (the one with the Launch intent) did not have the "android:label" attribute
WRONG!!!

RIGHT - Note the SplashScreenActivity
 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

--Zoheb
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic