kivy create a package for Android
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的更多相关文章
- AX7: CREATE NEW PACKAGE\MODEL
To create a new package\model on AX first you should understand the concept of Packages and Models o ...
- Translation002—Package Index(Android包索引)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 看本翻译前请您注意: 本人初学android,可能有的翻译不是非常准确,但本人尽最大努力,不清楚处会做标记,并附 ...
- kivy Create an application
http://kivy.org/docs/guide/basic.html#quickstart I followed this tutorial about how to create basic ...
- There was a problem parsing the package(android)
android phone when you install the application there will inevitably be "a problem parsing the ...
- Python 开发安卓Android及IOS应用库Kivy安装尝试
Python 开发安卓Android及IOS应用库Kivy安装尝试: 先来看看这货可以用来制作什么应用: Create a package for Windows Create a package f ...
- 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 ...
- Android Compatibility package 兼容性开发套件
我们认为Android 3.0平板电脑操作系统在美国时间2011年2月22日的正式推出,对于Android手机应用程序开发者所象征的意涵是: 之前大家所开发过的Android手机应用,除了可以在And ...
- How to create an rpm package
转自:https://linuxconfig.org/how-to-create-an-rpm-package Rpm is both the package manager and the pack ...
- 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 ...
随机推荐
- angularJS之站在jQuery的肩膀上
jQuery:用更少的代码,实现更强悍的功能 托互联网日新月异发展的福,浏览器变成了人们接入互联网的入口,而JavaScript 这个曾经的小语种,终于成功地站到了舞台的中央,唤起了开发者的兴趣. 浏 ...
- 伺服驱动器UVW电机电源线相序错误
我们有必要先了解此讨论的前提:编码器初始安装相位正确.伺服驱动器将全然"採信"电机编码器的初始安装相位所表征的电机电角度相位,无需在伺服电机 的UVW动力线接线连接后进行额外 ...
- 超高性能的json序列化
超高性能的json序列化之MVC中使用Json.Net 超高性能的json序列化之MVC中使用Json.Net 先不废话,直接上代码 Asp.net MVC自带Json序列化 1 /// <su ...
- 《MonkeyRunner原理剖析》第九章-MonkeyImage实现原理 - 第一节 - 关键类作用及关系
MonkeyRunner框架暴露了几个类的大量的API出去给用户编写脚本时候使用,其中最主要的三个就是: MonkeyDevice目标设备操作类,HierarchyViewer窗口界面对象操作类以及M ...
- 使用八种牛云存储解决方案ios7.1的app部署问题
使用八种牛云存储解决方案ios7.1的app部署问题 一个.问题叙述性说明 开发完ios版本号的app.须要将.ipa文件和.plist文件打包上传,供用户下载,在线安装.用户安装过程简单描写叙述例如 ...
- OpenSUSE13.2安装MongoDB
真是一个悲伤的故事,就是你解决过得问题没有记住,却需要再通过搜索引擎来找一遍,幸运的是曾经你做过记录,搜索帮你找到了. 这是我一个Wordpress博客整理记录的,好久没在那里更新了,两个月的时间,我 ...
- [译]Java 设计模式 之模板方法
(文章翻译自Java Design Pattern: Template Method) 模板方法设计模式定义了归档特定操作的工作流.它允许子类去修改特定的步奏而不用改变工作流的结构. 下面的例子表示模 ...
- MVC5系列——布局视图
MVC5系列——布局视图 目录 系列文章 概述 布局视图 系列文章 [Asp.net MVC]Asp.net MVC5系列——第一个项目 [Asp.net MVC]Asp.net MVC5系列——添加 ...
- OpenCV2第一个马拉松8环——画一个柱状图
在包里 灰度直方图 彩色直方图 葵花宝典 直方图的理论还是非常丰富的,应用也非常多,诸如: 直方图均衡化 直方图匹配(meanshift,camshift) 在这里,我先介绍基础.怎样绘制图像的直方图 ...
- 在MVC中使用SignalR
在MVC中使用SignalR 接着上一篇:<ASP.NET SignalR系列>第四课 SignalR自托管(不用IIS) 一.概述 本教程主要阐释了如何在MVC下使用ASP.NET Si ...