我是Xamarin的新手,并尝试使用visual studio 2015构建我的第一个应用程序, 这是我正在关注的教程:Xamarin - First Application
但是,当我尝试构建/重建项目时,它似乎处于冻结状态。它不断运行(重建),不确定时间限制。 我现在很沮丧。
任何人都可以帮我吗?
这是我的日志:
[I:sdk]: Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
[I:sdk]: Key HKLM\SOFTWARE\Android SDK Tools\Path found:
Path contains adb in \platform-tools (C:\Program Files (x86)\Android\android-sdk).
[I:sdk]: Key HKCU\SOFTWARE\Novell\Mono for Android\JavaSdkDirectory not found.
[I:sdk]: Key HKLM\SOFTWARE\Novell\Mono for Android\JavaSdkDirectory not found.
[I:sdk]: Looking for Java 6 SDK..
[I:sdk]: Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion found.
[I:sdk]: Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome not found.
[I:sdk]: Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.7\JavaHome found:
Path contains jarsigner.exe in \bin (C:\Program Files (x86)\Java\jdk1.7.0_55).
[I:]: Found Android SDK. API levels: 19, 21, 23
[I:]: Tracking android devices started
[D:]: Tracking avd started
[D:]: avd watcher *.ini path: 'C:\Users\hina\.android\avd'
[D:]: TrackDeviceTask got: ZY222VBJ9L device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: ZY222VBJ9L getprop
[D:RunShellCommand]: ZY222VBJ9L getprop
[D:]: avd watcher: got device list from avd with 1 devices
[D:]: TrackDeviceTask got:
[I:]: Got new device list from adb with 0 devices
[D:]: TrackDeviceTask got: ZY222VBJ9L offline
[I:]: Got new device list from adb with 1 devices
[D:]: TrackDeviceTask got: ZY222VBJ9L device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: ZY222VBJ9L getprop
[D:RunShellCommand]: ZY222VBJ9L getprop
[D:]: TrackDeviceTask got:
[I:]: Got new device list from adb with 0 devices
[D:]: TrackDeviceTask got: ZY222VBJ9L offline
[I:]: Got new device list from adb with 1 devices
[D:]: TrackDeviceTask got: ZY222VBJ9L device
[I:]: Got new device list from adb with 1 devices
[D:RunShellCommand]: ZY222VBJ9L getprop
[D:RunShellCommand]: ZY222VBJ9L getprop
[D:]: TrackDeviceTask got:
[I:]: Got new device list from adb with 0 devices
答案 0 :(得分:0)
尝试在环境变量中设置一次ANDROID_HOME路径,然后重新启动它。