您的位置:首页 > 大数据 > 人工智能

New package not yet registered with the system. Waiting 3 seconds before next attempt

2015-09-09 09:10 483 查看
Log 日志

[2015-09-09 09:07:34 - oldTest] ------------------------------

[2015-09-09 09:07:34 - oldTest] Android Launch!

[2015-09-09 09:07:34 - oldTest] adb is running normally.

[2015-09-09 09:07:34 - oldTest] Performing com.oldTest.fistActivity.Weclomescreen activity launch

[2015-09-09 09:07:34 - oldTest] Automatic Target Mode: using device 'cd16ebe8'

[2015-09-09 09:07:34 - oldTest] Uploading oldTest.apk onto device 'cd16ebe8'

[2015-09-09 09:07:35 - oldTest] Installing oldTest.apk...

[2015-09-09 09:07:41 - oldTest] Success!

[2015-09-09 09:07:41 - oldTest] Starting activity com.oldTest.fistActivity.Weclomescreen on device cd16ebe8

[2015-09-09 09:07:41 - oldTest] New package not yet registered with the system. Waiting 3 seconds before next attempt.

[2015-09-09 09:07:44 - oldTest] Starting activity com.oldTest.fistActivity.Weclomescreen on device cd16ebe8

[2015-09-09 09:07:44 - oldTest] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.oldtest/com.oldTest.fistActivity.Weclomescreen }

[2015-09-09 09:07:45 - oldTest] New package not yet registered with the system. Waiting 3 seconds before next attempt.

[2015-09-09 09:07:48 - oldTest] Starting activity com.oldTest.fistActivity.Weclomescreen on device cd16ebe8

[2015-09-09 09:07:48 - oldTest] New package not yet registered with the system. Waiting 3 seconds before next attempt.

[2015-09-09 09:07:51 - oldTest] Starting activity com.oldTest.fistActivity.Weclomescreen on device cd16ebe8

[2015-09-09 09:07:51 - oldTest] New package not yet registered with the system. Waiting 3 seconds before next attempt.

[2015-09-09 09:07:54 - oldTest] Starting activity com.oldTest.fistActivity.Weclomescreen on device cd16ebe8

[2015-09-09 09:07:54 - oldTest] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.oldtest/com.oldTest.fistActivity.Weclomescreen }

[2015-09-09 09:07:54 - oldTest] ActivityManager: Error type 3

[2015-09-09 09:07:54 - oldTest] ActivityManager: Error: Activity class {com.example.oldtest/com.oldTest.fistActivity.Weclomescreen} does not exist.

 

 

从我的log日志分析,运行后前边是正常的,在手机上点击安装后,就提示了success!然后就不断蹦出

[2015-09-09 09:07:51 - oldTest]
Startingactivitycom.oldTest.fistActivity.Weclomescreen on device cd16ebe8

[2015-09-09 09:07:51 - oldTest] New package not yet registered with the system. Waiting 3 seconds before next attempt. 

这两句话了。从提示来看是有的package没有注册

 

在从最后两句

2015-09-09 09:07:54 - oldTest] ActivityManager: Error type 3

[2015-09-09 09:07:54 - oldTest] ActivityManager: Error: Activity class {com.example.oldtest/com.oldTest.fistActivity.Weclomescreen} does not exist.

来看是这两个,但是这两个我注册了,很奇怪是什么原因。安装完成后我的手机报内存不足请清理内存后安装,但是我的手机还有很大的内存,不管是运存还是内存。然后纠结了好一阵。

 

 

 

 

 

可能遇到的错误有很多,下边提出一些解决方法:

 

解决方法:

 

按照网上的解决方案: Try this Project->Clean in eclipse, and the deploy it again.
这个方法,依然是这个错误。看来对我不行这个

 

按照网上的解决方案:国内手机发布好多精简了google服务,所以得需要配合一些jar包,具体哪些jar包,这得根据自己的程序来。看到这些话时候,简直要了我的命。我要是简单的弄个map啥的报这些错误也到可以,没提示我语句是缺少哪些库,我的程序又如此多的内容,你杀我了得了,所以这条我果断排除了。

 

 

按照网上的解决方案:

42down vote
I too had this problem immediately after changing the package name of my app (prepping it for Android Market). In Eclipse do a Project > Clean... , then turn off Build-Automatically so you can Build-All.

我更改了一下包名,(附带更改报名链接)http://jingyan.baidu.com/article/380abd0a71a1061d90192cfd.html

然后在clearn 再发布  OK啦。看来这次是国外网站的解决方案正中我下怀啊。

 

 

 

 

 

 

 

 

 

 

 

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android