android - 无法在模拟器上安装 Mono.Android.Platform.apk

标签 android msbuild android-emulator xamarin xamarin.android

我无法再在模拟器上安装 Mono,它提示设备空间不足。

  • 我试过使用“删除用户数据”复选框。
  • 我试过让 SD 卡容量更大。
  • 我已经尝试创建一个新的模拟器。

有什么想法吗?

从设备获取包列表

在设备上安装共享运行时包

pkg: /data/local/tmp/Mono.Android.DebugRuntime-debug.apk
Success
84 KB/s (25857266 bytes in 297.291s)
Installing the platform framework
Failed to copy 'C:\\Program Files (x86)\\MSBuild\\Novell\\platforms\\android-8\\Mono.Android.Platform.apk' to '/data/local/tmp/Mono.Android.Platform.apk': No space left on device
Failed to install the platform framework

最佳答案

您是自己启动模拟器还是让 Mono 工具为您启动它?如果您自己启动它,则默认设置太小而无法安装这些工具。如果你想自己启动它,你可以像这样指定一个更大的分区大小:

emulator.exe -avd NameOfYourEmulator -partition-size 512

更多详细信息请参阅 Xamarin's docs .

关于android - 无法在模拟器上安装 Mono.Android.Platform.apk,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8683736/

相关文章:

c# - 无法解析对程序集 'PostSharp' 的依赖性,因为它尚未预加载

visual-studio - 使用 MSBuild.exe 通过 cmd 行将 ASP.NET MVC 4 项目设置为 "Publish"

azure - 适用于 Android 的 Visual Studio 模拟器卡在 Azure VM 中

Android模拟器命令行不会终止

android - 找不到 OnCameraIdleListener(不推荐使用 OnCameraChangeListener())_Android 工作室?

android - 将Google Analytics(分析)新增至Android(Gradle)项目

android - webView中如何控制缩放

java - Appium - 查找元素不一致

syntax - 使用类似Make/Rake的语法为.NET构建系统?

java - 无法运行安卓应用程序