Visual Studio中的Android:系统无法找到指定的路径

时间:2016-09-28 02:38:37

标签: android xamarin visual-studio-2015

我在visual studio 2015社区安装了xamarin用于android开发,我刚刚更新了xamarin,现在我的项目给出了这个错误:

[I:]:                     Tracking android devices started
[D:]:                     Tracking avd started
[D:]:                     avd watcher *.ini path: 'C:\Users\Shelbone\.android\avd'
[D:]:                     avd watcher android path: 'E:\Android\ANDROI~1\tools\android.BAT'
[D:]:                     TrackDeviceTask got: 
[I:]:                     Got new device list from adb with 0 devices
[D:]:                     avd watcher error: load process of avd devices failed, please check the following error: The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.

但是,SDK已经存在。 sdk paths

知道发生了什么事吗?

1 个答案:

答案 0 :(得分:0)

为JAVA_HOME环境变量提供一个值为我修复了错误:

JAVA_HOME = C:\ Program Files \ Java \ jdk1.7.0_80