Android 模拟机出现Installation failed due to invalid URI!错误

[2017-03-28 09:52:13 - DataVDemo06] Installation failed due to invalid URI!
[2017-03-28 09:52:13 - DataVDemo06] Please check logcat output for more details.
[2017-03-28 09:52:13 - DataVDemo06] Launch canceled!
[2017-03-28 09:53:25 - DataVDemo06] /DataVDemo06/gen already exists but is not a source folder. Convert to a source folder or rename it.
[2017-03-28 09:53:28 - DataVDemo06] /DataVDemo06/gen already exists but is not a source folder. Convert to a source folder or rename it.
[2017-03-28 09:53:46 - DataVDemo06] R.java was removed! Recreating R.java!

 

1、在properties -> Java bulid path -> source中把gen那个目录删除;
2、再把自动生产的gen目录给删除;
3、选中项目,点击Project->clean,重新build一下就没问题了。

 

参考:http://blog.csdn.net/java_chuan/article/details/6682575

posted @ 2017-03-28 09:56  咸鱼翻身  阅读(1961)  评论(0编辑  收藏  举报