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. MVC生成CheckBoxList并对其验证

    原文:MVC生成CheckBoxList并对其验证 通过扩展方法,可以让CheckBox水平排列,生成CheckBoxList,正如"MVC扩展生成CheckBoxList并水平排列&quo ...

  2. 使用JavaScriptSerializer进行序列化日期类型应该注意的问题

    原文:使用JavaScriptSerializer进行序列化日期类型应该注意的问题 JavaScriptSerializer在序列化DateTime时,是用刻度来表示的,具体在Json体现为:\/Da ...

  3. asp.net mvc源码分析-DefaultModelBinder 自定义的普通数据类型的绑定和验证

    原文:asp.net mvc源码分析-DefaultModelBinder 自定义的普通数据类型的绑定和验证 在前面的文章中我们曾经涉及到ControllerActionInvoker类GetPara ...

  4. 用javascript把扑克牌理理顺!

    打扑克的人都知道,比如斗地主! 我们一般都会按照顺序把随机摸过来的牌从小到大的顺序在手上理整齐(记得小时候打牌两副牌手都抓不过来),这篇随笔就是想通过实现这个功能来熟悉下js中排序数组等相关知识. 用 ...

  5. 配置phonegap Android开发环境

    phonegap的安装路途曲折,首先要基于多种程序,中途还要解决各种问题,下面是phonegap需要的程序 1.NodeJs 2.Phonegap 3.jdk,jre 4.Apache Ant 5.A ...

  6. Asterisk 未来之路3.0_0007

    原文:Asterisk 未来之路3.0_0007 Modules Asterisk 是基于模块构建的.一个模块提供某个特定的功能,它是动态的被装载.比如:信道驱动(chan_sip.so),或可以连接 ...

  7. ASP.NET DataTable的操作大全

    DataTable表示一个与内存有关的数据表,可以使用工具栏里面的控件拖放来创建和使用,也可以在编写程序过程中根据需要独立创建和使用,最常见的情况是作为DataSet的成员使用,在这种情况下就需要用在 ...

  8. httpWebRequest.ContentType 属性、值 类型用法

    httpWebRequest.ContentType 属性.值 类型用法 冰火战地 指定将数据回发到服务器时浏览器使用的编码类型.下边是说明: application/x-www-form-urlen ...

  9. linux之stat函数解析

    [lingyun@localhost stat_1]$ vim stat.c  + stat.c                                                     ...

  10. SignalR1

    SignalR循序渐进(一) 前阵子把玩了一下SignalR,起初以为只是个real-time的web通讯组件.研究了几天后发现,这玩意简直屌炸天,它完全就是个.net的双向异步通讯框架,用它能做很多 ...