Buildozer未能执行的最后一个命令 [英] Buildozer failed to execute the last command

查看:2899
本文介绍了Buildozer未能执行的最后一个命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

而我试图建立,推动和自动使用我的设备上运行的APK buildozer Android的调试运行部署它显示这些错误:

while I was trying to build,push and automatically run the apk on my device using buildozer android debug deploy run it shows these errors:

# Check configuration tokens 

# Ensure build layout

# Check configuration tokens

# Preparing build


# Check requirements for android
# Install platform
# Apache ANT found at /home/sahil/.buildozer/android/platform/apacheant-1.9.4
# Android SDK found at /home/sahil/.buildozer/android/platform/android-sdk-21
# Android NDK found at /home/sahil/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Check garden requirements
# Compile platform
# Distribution already compiled, pass.
# Build the application #21
# Package the application
 # Command failed: /usr/bin/python2.7 build.py --name demo --version 1.2.0 --package org.test.myapp --private /home/sahil/kivy/.buildozer/android/app --sdk 14 --minsdk 8 --orientation landscape debug
# 
# Buildozer failed to execute the last command
# If the error is not obvious, please raise the log_level to 2
# and retry the latest command.
# In case of a bug report, please add a full log with log_level = 2

我检查出来的文件,并在互联网上,但没有找到任何关于它。
而我只是制作一个简单的Hello World应用程序:

I checked it out in documentation and also on internet but did not find anything about it. AND I am just making a simple Hello World application:

#version.regex
#__version__= '1.0'

from kivy.app import App
from kivy.uix.label import Label


class SimpleApp(App):
    def build(self):
        return Label(text="Hello World")


if __name__=="__main__":
    SimpleApp().run()

谢谢!

推荐答案

一是提高日志级别= 2 buildozer.spec ,然后它会显示所有日志和错误明显。在这里,在 .buildozer /安卓/平台/蟒蛇换的Andr​​oid /距离/ MyApp的/ Python的2.7 build.py 失踪。要解决这个问题,运行此命令 buildozer机器人清洁,然后用重建它 buildozer Android的调试或自动运行使用 buildozer Android的调试运行部署

First raise the log level = 2 in buildozer.spec,then it will show all logs and error clearly. Here in .buildozer/android/platform/python-for-android/dist/myapp/python 2.7 build.py was missing. To fix this issue run this command buildozer android clean and then rebuild it using buildozer android debug or automatically run using buildozer android debug deploy run.

这篇关于Buildozer未能执行的最后一个命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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