[Android] An internal error occurred during: "Launching New_configuration". Path for project must have only one segment.

出错:

An internal error occurred during: "Launching New_configuration". 
Path for project must have only one segment.

[Android] An internal error occurred during: "Launching New_configuration". Path for project must have only one segment.

【解决过程】

1.很明显,此处没有设置对应的AVD,即用于运行程序的android模拟器,虚拟设备。

2.所以去设置:

[Android] An internal error occurred during: "Launching New_configuration". Path for project must have only one segment.

[Android] An internal error occurred during: "Launching New_configuration". Path for project must have only one segment.

[Android] An internal error occurred during: "Launching New_configuration". Path for project must have only one segment.

然后再切换到Target,就可以看到AVD了:

[Android] An internal error occurred during: "Launching New_configuration". Path for project must have only one segment.

注:关于如何创建AVD,可参考:

【记录】创建AVD(Android Virtual Device)安卓虚拟设备

3. 然后就可以选上对应的AVD,然后Apply,再运行Run:

[Android] An internal error occurred during: "Launching New_configuration". Path for project must have only one segment.

结果又出现了其他错误,折腾过程参见:

【已解决】ADT中,运行Android程序出错:The connection to adb is down, and a severe error has occured

上一篇:删除本地git的远程分支和远程删除git服务器的分支


下一篇:老王说JavaDoc