New package not yet registered with the system

今天遇到了一个问题。。项目跑在eclipse上运行报错

New package not yet registered with the system


就是不停的:

Starting activity com.example.helloworld.MainActivity on device 4103bb2367bb3000
[2015-07-19 15:06:39 - helloworld] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2015-07-19 15:06:42 - helloworld] Starting activity com.example.helloworld.MainActivity on device 4103bb2367bb3000
[2015-07-19 15:06:42 - helloworld] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2015-07-19 15:06:45 - helloworld] Starting activity com.example.helloworld.MainActivity on device 4103bb2367bb3000
[2015-07-19 15:06:46 - helloworld] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2015-07-19 15:06:49 - helloworld] Starting activity com.example.helloworld.MainActivity on device 4103bb2367bb3000
[2015-07-19 15:06:49 - helloworld] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2015-07-19 15:06:52 - helloworld] Starting activity com.example.helloworld.MainActivity on device 4103bb2367bb3000
[2015-07-19 15:06:53 - helloworld] ActivityManager: Error type 3
[2015-07-19 15:06:53 - helloworld] ActivityManager: Error: Activity class {com.example.helloworld/com.example.helloworld.MainActivity} does not exist.
[2015-07-19 15:06:53 - helloworld] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.helloworld/.MainActivity }
 

由于错误没有截下来,这里用一下人家的报错,跟我一样一样的。


网上很多人都说clean一下,然而对我并没有什么用。

而且新建项目运行还是同样的问题,换了workspace还是同样的问题,重启电脑和重启手机也没有解决。

最后换了一只手机,可以运行,猜测是手机上软件没有卸载干净的问题。之前我长按卸载没有解决问题。


解决方式:在应用管理里卸载软件。再不行的话重置手机。。反正我是测试机。。。


看到网上还有其他不用重置的解决方式:

http://vjson.com/wordpress/android%E5%BC%80%E5%8F%91%E4%B9%8B%E7%96%91%E9%9A%BE%E6%9D%82%E7%97%87.html




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值