This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes [2010-08-16 10:31:07 - HelloDatePicker] New package not yet registered with the system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "[2010-08-16 10:31:07 - HelloDatePicker] New package not yet registered with the system" Watch "[2010-08-16 10:31:07 - HelloDatePicker] New package not yet registered with the system" New topic
Author

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

zoheb hassan
Ranch Hand

Joined: Apr 01, 2009
Posts: 146

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

Joined: Oct 12, 2008
Posts: 1369
    
    1

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.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Try this Project->Clean in eclipse, and the deploy it again.


Life is easy because we write the source code.....
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Pramod P Deore wrote:Try this Project->Clean in eclipse, and the deploy it again.

Yeah, sometimes that helps too.
zoheb hassan
Ranch Hand

Joined: Apr 01, 2009
Posts: 146

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

Joined: Jul 09, 2011
Posts: 1
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

Joined: Apr 01, 2009
Posts: 146

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
 
Consider Paul's rocket mass heater.
 
subject: [2010-08-16 10:31:07 - HelloDatePicker] New package not yet registered with the system
 
Similar Threads
Portal Server v6.0 Initialization Problem
how do i compare row by row
My Schedular was sleeping
A Question about ServletRequestListener behaviour
add day to Date using Calendar.add() question