我如何使用 console/adb.exe 刷新 zip Visual Studio Android 模拟器?
How do I flash zip Visual Studio Android Emulator using console/adb.exe?
如何使用控制台 (adb) 快速压缩 Visual Studio Android 模拟器?我想在上面安装 cyanogen mod 以启动 google 应用程序。
我试过拖放 zip 文件,但它不允许。我也检查了这个 troubleshooting guide 但似乎路径已经指向 Android SDK 工具的正确路径。
我正在使用 Windows 8.1 与 VS 2015 Pro 和 VS Android 模拟器。请注意,我可以通过拖放 zip 文件在笔记本电脑上使用 Windows 10 / VS 2015 Community 进行闪烁,所以我不确定 Windows 版本是否与此有关.
我在 this blog post 中找到了解决方案。
- 下载特定于 Android 版本的 GApps 软件包,您的模拟器是 运行
- 解压缩文件
- 打开 adb 命令提示符(如果您在 Visual Studio 2015 中安装了 Xamarin 工具,请打开菜单工具->Android->Android Adb 命令提示符)并导航到哪里您已解压缩文件。
- 转到解压缩存档中的系统文件夹
- 执行这组命令:
adb remount
adb shell chmod 777 /system
adb push . /system
如何使用控制台 (adb) 快速压缩 Visual Studio Android 模拟器?我想在上面安装 cyanogen mod 以启动 google 应用程序。
我试过拖放 zip 文件,但它不允许。我也检查了这个 troubleshooting guide 但似乎路径已经指向 Android SDK 工具的正确路径。
我正在使用 Windows 8.1 与 VS 2015 Pro 和 VS Android 模拟器。请注意,我可以通过拖放 zip 文件在笔记本电脑上使用 Windows 10 / VS 2015 Community 进行闪烁,所以我不确定 Windows 版本是否与此有关.
我在 this blog post 中找到了解决方案。
- 下载特定于 Android 版本的 GApps 软件包,您的模拟器是 运行
- 解压缩文件
- 打开 adb 命令提示符(如果您在 Visual Studio 2015 中安装了 Xamarin 工具,请打开菜单工具->Android->Android Adb 命令提示符)并导航到哪里您已解压缩文件。
- 转到解压缩存档中的系统文件夹
- 执行这组命令:
adb remount
adb shell chmod 777 /system
adb push . /system