kivy create a package for Android
2013-12-03 16:00
435 查看
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
Then open a console and type:
#########################
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
&&&&&&&&&&&&
&&
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.
&&&&&&&&&&&&
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.
&&&&&&&&&&&&
相关文章推荐
- ubuntu12.04安装android源码编译环境
- 用NDKr9编译最新ffmpeg2.0.1(ffmpeg2.0.2)到android平台
- android中Invalidate和postInvalidate的区别
- Android图像处理之Bitmap类
- Android中的Toast重复显示的问题
- 产品交付规范文档
- android SQLite使用
- Android实现带Tab页引导的ViewPager
- android中通过id获得drawable类型的数据
- Android 动画之ScaleAnimation应用详解
- Android Services重点记录
- Android重大漏洞POC
- Android智能指针学习笔记
- Android_Activity的4种加载模式
- Android延时执行的几种方法
- android源码编译错误
- android sdk manager无法更新
- android 开发 之欢迎页面
- android.view.WindowLeaked:已经解决
- Android anr分析