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 when build the APK #10

Closed
Seg-mel opened this issue Feb 7, 2012 · 1 comment
Closed

error when build the APK #10

Seg-mel opened this issue Feb 7, 2012 · 1 comment

Comments

@Seg-mel
Copy link

Seg-mel commented Feb 7, 2012

meloman@meloman-notebook:~/data/programming/android/python-for-android/dist/default$ python ./build.py --package org.test.touchtracer --name touchtracer --version 1.0 --dir /home/meloman/data/programming/android/python-for-android/dist/default/python-install/share/kivy-examples/demo/touchtracer/ debug
Traceback (most recent call last):
File "./build.py", line 333, in
make_package(args)
File "./build.py", line 242, in make_package
subprocess.call([ANDROID, 'update', 'project', '-p', '.', '-t', 'android-8'])
File "/home/meloman/.pythonbrew/pythons/Python-2.7.1/lib/python2.7/subprocess.py", line 486, in call
return Popen(_popenargs, *_kwargs).wait()
File "/home/meloman/.pythonbrew/pythons/Python-2.7.1/lib/python2.7/subprocess.py", line 672, in init
errread, errwrite)
File "/home/meloman/.pythonbrew/pythons/Python-2.7.1/lib/python2.7/subprocess.py", line 1202, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

what could be wrong? used your instructions. SDK r16, NDK r 7

@tito
Copy link
Member

tito commented Feb 8, 2012

Open your terminal, and try to type just "android". This is a tool from
Android SDK that must be available within your PATH.

Mathieu

On 07/02/2012 23:16, Seg-mel wrote:

meloman@meloman-notebook:~/data/programming/android/python-for-android/dist/default$ python ./build.py --package org.test.touchtracer --name touchtracer --version 1.0 --dir /home/meloman/data/programming/android/python-for-android/dist/default/python-install/share/kivy-examples/demo/touchtracer/ debug
Traceback (most recent call last):
File "./build.py", line 333, in
make_package(args)
File "./build.py", line 242, in make_package
subprocess.call([ANDROID, 'update', 'project', '-p', '.', '-t', 'android-8'])
File "/home/meloman/.pythonbrew/pythons/Python-2.7.1/lib/python2.7/subprocess.py", line 486, in call
return Popen(_popenargs, *_kwargs).wait()
File "/home/meloman/.pythonbrew/pythons/Python-2.7.1/lib/python2.7/subprocess.py", line 672, in init
errread, errwrite)
File "/home/meloman/.pythonbrew/pythons/Python-2.7.1/lib/python2.7/subprocess.py", line 1202, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

what could be wrong? used your instructions


Reply to this email directly or view it on GitHub:
#10

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

2 participants