Picproje Elektronik Sitesi

PROGRAMLAMA DİLLERİ => Python => Konuyu başlatan: Kaanx - 09 Aralık 2013, 19:55:52

Başlık: Python For Android Apk oluştururken Build.py Çalışmıyor.
Gönderen: Kaanx - 09 Aralık 2013, 19:55:52
Merhaba arkadaşlar konunun aynısı ubuntuforumdada açtıgım için direk link veriyorum. Elimde python ile yaptıgım bir audip proc kodu var ubuntu üzerinde çalısan bu kodu kivy ile apk haline getirip android telefonumda kullanmak istiyorum.Buradan yola cıkarak girdiğim bu işte son adım olarak apk oluştururken build.py komutu bir türlü çalıştıramadım.


http://forum.ubuntu-tr.net/index.php?topic=40993.msg489823#msg489823 (http://forum.ubuntu-tr.net/index.php?topic=40993.msg489823#msg489823) linkte konuyla alakalı anlatımlarda verdim yardımcı olursanız cok mutlu olurum. Kolay gelsin herkese.
Başlık: Ynt: Python For Android Apk oluştururken Build.py Çalışmıyor.
Gönderen: Kaanx - 10 Aralık 2013, 14:28:28
Son yaptıgım API14 yüklemesinden sonra aldıgım cıktılar


kaan@kaan-Satellite-L655:~/python-for-android/src$ ./build.py --dir ~/Masaüstü/KivyApp     --package org.demo.touchtracer     --name "Kivy Touchtracer" --version 1.1.0 debug installd
Updated project.properties
Updated local.properties
----------
build.xml: Failed to find version-tag string. File must be updated.
In order to not erase potential customizations, the file will not be automatically regenerated.
If no changes have been made to the file, delete it manually and run the command again.
If you have made customizations to the build process, the file must be manually updated.
It is recommended to:
* Copy current file to a safe location.
* Delete original file.
* Run command again to generate a new file.
* Port customizations to the new file, by looking at the new rules file
  located at <SDK>/tools/ant/build.xml
* Update file to contain
      version-tag: custom
  to prevent file from being rewritten automatically by the SDK tools.
----------
Updated file ./proguard-project.txt
Traceback (most recent call last):
  File "./build.py", line 412, in <module>
    make_package(args)
  File "./build.py", line 304, in make_package
    make_pythonzip()
  File "./build.py", line 132, in make_pythonzip
    python_files = [x for x in listfiles(d) if select(x)]
  File "./build.py", line 96, in listfiles
    for item in os.listdir(d):
OSError: [Errno 2] No such file or directory: '/home/kaan/python-for-android/src/private/lib/python2.7'