使用buildozer android -v调试时未找到Aidl错误 [英] Aidl not found error while using buildozer android -v debug

查看:365
本文介绍了使用buildozer android -v调试时未找到Aidl错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个Android APK文件,该文件可以使用buildozer和kivy在手机上运行.不幸的是,每当我运行命令buildozer -v android debug时,命令提示符都会返回错误Aidl not found, please install it.

I'm trying to create an android apk file that I can run on my phone using buildozer and kivy. Unfortunately, whenever I run the command buildozer -v android debug, the command prompt returns the error Aidl not found, please install it.

我已经尝试过先执行sudo apt-get aidl,然后执行sudo apt-get update,但这仍然会导致相同的错误.

I've already tried to simply do sudo apt-get aidl followed by sudo apt-get update, but that still results in the same error.

此外,我不确定这是否与问题相关,但是当我在ubuntu 16.04虚拟机上打开文件资源管理器时,根文件夹上有一个轻微的"x",表示我没有无法打开它.

Also, I'm not sure if this is relevant to the issue, but when I open up the file explorer on the ubuntu 16.04 virtual machine, there is a slight "x" on the root folder and it says that I don't have access to open it.

这是buildozer.spec文件,通过这种方式,我无法确定该文件的内容是否很重要

Here is the buildozer.spec file, through I'n note sure if the contents of it are important with this specific error

https://docs.google.com/documentation /d/1UAHekPUatAOrdIU_zFRwoPWgQKd-d0L3QsRXOr2Lo4Q/edit?usp = sharing

非常感谢您的帮助和建议.谢谢!

Help and suggestions would greatly be appreciated. Thanks!

注意:之所以问这个问题,是因为

Note: The reason why I am asking this question is due to the fact that the answer given in Why does Buildozer show `# Aidl not found, please install it.` even after I installed it? is out of date

推荐答案

找不到助手,请安装它. Buildozer没有安装必要的软件包

Aidl not found, please install it. Buildozer didn’t install a necessary package

〜/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager"build-tools; 29.0.0" 然后按"y",然后输入以接受许可证.

~/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager "build-tools;29.0.0" Then press "y" then enter to accept the license.

这篇关于使用buildozer android -v调试时未找到Aidl错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆