Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error to execute comand ./distribute.sh -m "openssl pil kivy" #167

Closed
uxmar opened this issue Nov 3, 2013 · 3 comments
Closed

Error to execute comand ./distribute.sh -m "openssl pil kivy" #167

uxmar opened this issue Nov 3, 2013 · 3 comments

Comments

@uxmar
Copy link

uxmar commented Nov 3, 2013

I 'm trying to convert my project to .apk

I followed all the instructions are two websites:

http://python-for-android.readthedocs.org/en/latest/prerequisites/
https://github.com/kivy/python-for-android

But I have a problem running the command:

./distribute.sh -m "openssl pil kivy"

The result is:

Check build dependencies for Ubuntu
Check enviromnent
SDK located at /home/gabriela/and/android-sdk-linux
NDK located at /home/gabriela/and/android-ndk-r9
NDK version is r9
API level set to 14
Check mandatory tools
Distribution will be located at /home/gabriela/python-for-android/dist/default
Entering in ARM enviromnent
Unable to find compiler (arm-linux-androideabi-gcc) !!

  1. Ensure that SDK/NDK paths are correct
  2. Ensure that you've the Android API 14 SDK Platform (via android tool)

My variables are as follows:

export ANDROIDSDK=/home/gabriela/and/android-sdk-linux
export ANDROIDNDK=/home/gabriela/and/android-ndk-r9
export ANDROIDNDKVER=r9
export ANDROIDAPI=14
export PATH=$ANDROIDNDK:$ANDROIDSDK/platform-tools:$ANDROIDSDK/tools:$PATH

And I have successfully installed the API 14.

@brousch
Copy link
Contributor

brousch commented Nov 3, 2013

Have you given buildozer a try? It automates a lot of the steps for
python-for-android. https://github.com/kivy/buildozer

On Sun, Nov 3, 2013 at 5:05 PM, uxmar [email protected] wrote:

I 'm trying to convert my project to .apk

I followed all the instructions are two websites:

http://python-for-android.readthedocs.org/en/latest/prerequisites/
https://github.com/kivy/python-for-android

But I have a problem running the command:

./distribute.sh -m "openssl pil kivy"

The result is:

Check build dependencies for Ubuntu
Check enviromnent
SDK located at /home/gabriela/and/android-sdk-linux
NDK located at /home/gabriela/and/android-ndk-r9
NDK version is r9
API level set to 14
Check mandatory tools
Distribution will be located at
/home/gabriela/python-for-android/dist/default
Entering in ARM enviromnent
Unable to find compiler (arm-linux-androideabi-gcc) !!

  1. Ensure that SDK/NDK paths are correct
  2. Ensure that you've the Android API 14 SDK Platform (via android tool)

My variables are as follows:

export ANDROIDSDK=/home/gabriela/and/android-sdk-linux
export ANDROIDNDK=/home/gabriela/and/android-ndk-r9
export ANDROIDNDKVER=r9
export ANDROIDAPI=14
export PATH=$ANDROIDNDK:$ANDROIDSDK/platform-tools:$ANDROIDSDK/tools:$PATH

And I have successfully installed the API 14.


Reply to this email directly or view it on GitHubhttps://github.com//issues/167
.

Ben Rousch
[email protected]
http://clusterbleep.net/

@uxmar
Copy link
Author

uxmar commented Nov 3, 2013

Hi brousch.
I have not used, I'll try now.

@uxmar
Copy link
Author

uxmar commented Nov 4, 2013

Hello, I started using this solution and in parallel was trying to do it the classic way.
My problem was that from the NDK version 9 contains two packs, and I was unloading the second option that never worked.

For those who happen the same mistake, you have to download the first package named for the date: android-ndk-9b-linux-x86_64.tar.bz2

Thank you for your help.

PD. I'm going to document regarding this to start using it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants