title: Creating APK from Kivy on Mac OS X fails after compile
body: <p>My background is in HTML/JS, so compiling is new for me. While attempting to build my python project in Kivy to an Android .apk, I am getting an error I do not understand:</p>
  
  <pre><code>Command failed: ./distribute.sh -m "kivy"
  </code></pre>
  
  <p>Here is a portion of the tail end of the debug output...</p>
  
  <pre><code>Compiling /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/xmllib.py ...
  Compiling /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/xmlrpclib.py ...
  Compiling /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/zipfile.py ...
  make: [libinstall] Error 1 (ignored)
  PYTHONPATH=/Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7  LD_LIBRARY_PATH=/Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python/Python-2.7.2: \
          /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python/Python-2.7.2/hostpython -Wi -t /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/compileall.py \
          -d /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages -f \
          -x badsyntax /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages
  Listing /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages ...
  PYTHONPATH=/Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7 LD_LIBRARY_PATH=/Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python/Python-2.7.2: \
          /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python/Python-2.7.2/hostpython -Wi -t -O /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/compileall.py \
          -d /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages -f \
          -x badsyntax /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages
  Listing /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages ...
  PYTHONPATH=/Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7 LD_LIBRARY_PATH=/Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python/Python-2.7.2: \
          /Users/Travis/buildozer/.buildozer/android/platform/python-for-android/build/python/Python-2.7.2/hostpython -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
  Leaving ARM environment
  cp: build/lib.linux-x86_64-2.7/_ctypes*.so: No such file or directory
  # Command failed: ./distribute.sh -m "kivy" -d "myapp"
  # 
  # Buildozer failed to execute the last command
  # The error might be hidden in the log above this error
  # Please read the full log, and search for it before
  # raising an issue with buildozer itself.
  # In case of a bug report, please add a full log with log_level = 2
  </code></pre>
  
  <p>Here is the full debug, for those who want it...</p>
  
  <p><a href="https://www.dropbox.com/s/45lgdhk5y4uj8eg/KivyDebug.txt?dl=1" rel="nofollow noreferrer">https://www.dropbox.com/s/45lgdhk5y4uj8eg/KivyDebug.txt?dl=1</a></p>
  
  <p>Also, my buildozer.spec file...</p>
  
  <p><a href="https://www.dropbox.com/s/g5p43jjts49rzza/buildozer.spec?dl=1" rel="nofollow noreferrer">https://www.dropbox.com/s/g5p43jjts49rzza/buildozer.spec?dl=1</a></p>
  
  <p>EDIT: Downgrading Cython per the advice <a href="https://stackoverflow.com/a/29140927/4096787">HERE</a> did not help.
  EDIT2: Tried changing requirements to kivy==master. No luck.
  EDIT3: Tried chmod -R 777 on both source and buildozer folders. No luck.</p>