Now that you've successfully coded an app. Now you want to deploy it to Android.

So now we would need to have a look of this, from its official site:http://kivy.org/docs/guide/packaging.html

Let's check this out.

Mainly for Android . http://kivy.org/docs/guide/packaging-android.html

let's do it! It's so exciting!!!!

As it says, here's what we gonna need:

##################################

This section describes how to download and use python-for-android directly.

You’ll need:

  • A linux computer or virtual machine
  • Java
  • Python 2.7 (not 2.6.)
  • Jinja2 (python module)
  • Apache ant
  • Android SDK

Setup Python for Android

First, install the prerequisites needed for the project:

Then open a console and type:

git clone git://github.com/kivy/python-for-android

#########################

I am using Linuxmint 13 which is derived from Ubuntu12.04 the long-term guaranteed version.

So let's do this.

For this:

http://python-for-android.readthedocs.org/en/latest/prerequisites/

I would strongly recommend you can download this one: http://kivy.org/#download ( in the virtual machine section ). Just as what they said "A Virtual Machine with Android SDK and NDK and all other pre-requisites pre installed to ease apk generation:". Hope so.

Or you could just do as the link above to set your own environment. All we need is to build APK for android.

Summery:

1) Set the system enviroment pacakges

2) Install the prerequistes needed for the project

3) Build the app distribution in the terminal

Just follow the tutorial there: http://kivy.org/docs/guide/packaging-android.html

./distribute.sh -m "kivy"     ( just see that)

TestDrive here is a good trial.

http://kivy.org/#download Download that virtualbox image and try

&&&&&&&&&&&&

&&

TestDrive

We provide a VirtualBox Image with python-for-android along with the Android SDK and NDK preinstalled to ease your installation woes. You can download it from here.

Once the VM is loaded, you can follow the instructions from Packaging your application into an APK. You don’t need to download with git clone though, as python-for-android is already installed and set up in the virtual machine home directory.

&&&&&&&&&&&&

kivy create a package for Android的更多相关文章

  1. AX7: CREATE NEW PACKAGE\MODEL

    To create a new package\model on AX first you should understand the concept of Packages and Models o ...

  2. Translation002—Package Index(Android包索引)

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 看本翻译前请您注意: 本人初学android,可能有的翻译不是非常准确,但本人尽最大努力,不清楚处会做标记,并附 ...

  3. kivy Create an application

    http://kivy.org/docs/guide/basic.html#quickstart I followed this tutorial about how to create basic ...

  4. There was a problem parsing the package(android)

    android phone when you install the application there will inevitably be "a problem parsing the ...

  5. Python 开发安卓Android及IOS应用库Kivy安装尝试

    Python 开发安卓Android及IOS应用库Kivy安装尝试: 先来看看这货可以用来制作什么应用: Create a package for Windows Create a package f ...

  6. How to create Web Deployment Package and install the package

    Create Web Deployment Package To configure settings on the Connection tab In the Publish method drop ...

  7. Android Compatibility package 兼容性开发套件

    我们认为Android 3.0平板电脑操作系统在美国时间2011年2月22日的正式推出,对于Android手机应用程序开发者所象征的意涵是: 之前大家所开发过的Android手机应用,除了可以在And ...

  8. How to create an rpm package

    转自:https://linuxconfig.org/how-to-create-an-rpm-package Rpm is both the package manager and the pack ...

  9. create a nodejs npm package

    1. create a folder named m1 2. run command: npm init, this will create the package.json file 3. crea ...

随机推荐

  1. 山寨游戏的未来Apple App Store

    watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaXF1c2hp/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/d ...

  2. Ormlite or()的使用

    如题,由于不熟悉这个框架的API,所以用的时候出错了,直接上代码 public List<Type> getAllBetweenDate(String start, String end) ...

  3. 基于HTTP/2和protobuf的RPC框架:GRPC

    谷歌发布的首款基于HTTP/2和protobuf的RPC框架:GRPC Google 刚刚开源了grpc,  一个基于HTTP2 和 Protobuf 的高性能.开源.通用的RPC框架.Protobu ...

  4. JVM相关知识(1)

    1.JVM内存管理的机制 内存空间划分为:Sun JDK在实现时遵照JVM规范,将内存空间划分为堆.JVM方法栈.方法区.本地方法栈.PC寄存器. 堆: 堆用于存储对象实例及数组值,可以认为Java中 ...

  5. C语言学习-数据结构 - 倒插法顺序表

    // test20161106.cpp : Defines the entry point for the console application. // #include "stdafx. ...

  6. POJ 3390 Print Words in Lines(DP)

    Print Words in Lines Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1624 Accepted: 864 D ...

  7. Asp.net TextBox只能输入数字

    原文:Asp.net TextBox只能输入数字 <asp:textbox id="TextBox1" onkeyup="if(isNaN(value))execC ...

  8. AngularJS学习笔记(一)——一些基本知识

    (一)Hello Angular index.html <!DOCTYPE html> <html ng-app> <head> <title>Test ...

  9. HDOJ 4416 Good Article Good sentence

    题解转自:http://blog.csdn.net/dyx404514/article/details/8807440 2012杭州网络赛的一道题,后缀数组后缀自己主动机都行吧. 题目大意:给一个字符 ...

  10. Oracle中注意用户的访问权限

    新增表.序列.存储过程等,要注意用户(例如System)的权限.如果在增删改查过程中出现数据库读写权限的报错,则在建表(或者序列.存储过程等)时,在脚本前面加 GRANT CREATE TABLE T ...