kivy buildozer 虚拟机

时间:2023-03-21
本文介绍了kivy buildozer 虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我尝试使用 buildozer 为 android 编译 kivy,但它不起作用,我找不到这个问题的解决方案.所以我尝试从 kivy webside 安装虚拟机,应该包括这个,来自这个链接:

I tried to compile kivy with buildozer for android, but it did not work and I could not find the solution for this problem. So I tried to install the virtual machine from the kivy webside, which is supposed to include this, from this link:

http://kivy.org/#download

但是我找不到 .vdi 文件,所以我想知道如何找到这个 .vdi 文件以及如何安装 vm.

But I could not find a .vdi file,and so I wanted to know how I can find this .vdi file and how to install the vm.

推荐答案

这些说明已过时,请不要遵循它们

要点:

  1. 从 (https://drive.google.com/open?id=0B112pXITp0hJU3dJb25hbWJ3RHM&authuser=0 <- 警告 此图片已过时,无法再使用)下载量 >2GB(6GB提取后).提取文件并记住提取的 vdi 文件的位置.

  1. Download the disc image from (https://drive.google.com/open?id=0B112pXITp0hJU3dJb25hbWJ3RHM&authuser=0 <- WARNING this image is highly out of date and won't work any more) The download is >2GB (6GB after extracted). Extract the file and remember the location of the extracted vdi file.

从 VirtualBox 下载区下载适用于您机器的 VirtualBox 版本并安装.(https://www.virtualbox.org/)

Download the version of VirtualBox for your machine from the VirtualBox download area and install it. (https://www.virtualbox.org/)

启动VirtualBox,点击左上角的新建".然后选择linux"和Ubuntu 64-bit".

Start VirtualBox, click on "New" in the left top. Then select "linux" and "Ubuntu 64-bit".

在硬盘"下,选择使用现有的虚拟硬盘文件".搜索您的 vdi 文件(您解压缩 Buildozer 的位置)并选择它.

Under "Hard drive", choose "Use an existing virtual hard drive file". Search for your vdi file (where you unzipped Buildozer) and select it.

转到虚拟机的设置".在显示 -> 视频"部分,将视频内存增加到 32mb 或以上.启用 3d 加速以改善用户体验.

Go to the "Settings" for your virtual machine. In the "Display -> Video" section, increase video ram to 32mb or above. Enable 3d acceleration to improve the user experience.

启动虚拟机并按照桌面上自述文件中的说明进行操作.

Start the Virtual machine and follow the instructions in the readme file on the desktop.

这篇关于kivy buildozer 虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

上一篇:kivymd 应用程序在 Android 手机上崩溃 ModuleNotFoundError: No module na 下一篇:移除或更换启动时的 kivy 闪屏

相关文章