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

Posted 再出发

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于Android 模拟机出现Installation failed due to invalid URI!错误的主要内容,如果未能解决你的问题,请参考以下文章

Android Studio中 HAXM安装失败的问题(Intel HAXM installation failed. To install Intel HAXM follow the...)

Android Studio提示: Application Installation Failed

Android——复制项目出现Application Installation Failed

Android studio初次运行出现Installation did not succeed. The application could not be installed

Android studio初次运行出现Installation did not succeed. The application could not be installed

Android studio初次运行出现Installation did not succeed. The application could not be installed