Skip to content

kawasaki2013/python-for-android-x86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is inherited from https://code.google.com/p/python-for-android/.

The target is to support X86 architecture for android python.

Following words are from original project python-for-android, and maybe 
updated later.


========================================================================
In order to build Py4A you first need to build Python for Android platform,
make sure you have all the dependencies needed for building python 2.6 for your
distro in Ubuntu run: sudo apt-get build-dep python2.6

In Ubuntu (i386) you need to run this before anything else:
export LDFLAGS="-L /usr/lib/i386-linux-gnu/"

pushd python-build
bash build.sh
popd

Then you need to update the references for the APK file
pushd python-build
python update-apk.py
popd

Next step is building a few Android libraries needed for Py4A to be built.
pushd android
pushd Utils
ant
popd
pushd Common
ant
popd
pushd InterpreterForAndroid
ant
popd
popd

Now build Py4A apk signing with debug key
pushd android/PythonForAndroid
mkdir libs
cp ../{Utils,Common,InterpreterForAndroid}/dist/*.jar libs
ant debug
popd

About

Make original project https://code.google.com/p/python-for-android/ works for x86 architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published