无法在 Android 模拟器上调试 Xamarin,并显示消息:调试已取消。请创建一个 Android 模拟器
Unable to debug Xamarin on Android emulator with message: The debug was canceled. Please create an Android emulator
无法在 Android 模拟器上调试 XAmarin。尝试启动调试器时,我在 "Output" window 中收到此错误:
The debug was canceled. Please create an android emulator to debug the
application.
但我已经有一个 Android 模拟器 运行 (Pixel 2 Pie 9.0),我已经使用它成功调试了另一个 Xamarin 项目。我重新启动了我的机器并仅使用我当前的项目重试并得到了相同的行为。
此应用程序只是一个空白Android 项目,没有任何变化。
如旁注(注意确定是否相关)。当我按下按钮 "Apply Android Resource changes and restart activity" 时。状态栏中的最后一条消息是:
Deploying resource changes failed. Couldn't list apks for package:
[Package name]
我不知道该怎么办?有什么想法吗?
重新安装VS2019一切正常。
顺便说一下,我在问题发生之前安装了一些旧的 Android SDK。相关???
无法在 Android 模拟器上调试 XAmarin。尝试启动调试器时,我在 "Output" window 中收到此错误:
The debug was canceled. Please create an android emulator to debug the application.
但我已经有一个 Android 模拟器 运行 (Pixel 2 Pie 9.0),我已经使用它成功调试了另一个 Xamarin 项目。我重新启动了我的机器并仅使用我当前的项目重试并得到了相同的行为。
此应用程序只是一个空白Android 项目,没有任何变化。
如旁注(注意确定是否相关)。当我按下按钮 "Apply Android Resource changes and restart activity" 时。状态栏中的最后一条消息是:
Deploying resource changes failed. Couldn't list apks for package: [Package name]
我不知道该怎么办?有什么想法吗?
重新安装VS2019一切正常。
顺便说一下,我在问题发生之前安装了一些旧的 Android SDK。相关???