Hello,
I just set up the Buildozer VM and followed the instructions to build the necessary dependencies (
http://buildozer.readthedocs.io/en/latest/installation.html).
I only have the very basic Hello World example, no other code. The buildozer.spec file is present and I modified it as suggested.
Now when I run "buildozer -v android debug" (as described here:
http://buildozer.readthedocs.io/en/latest/quickstart.html), I get the following stacktrace:
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Read available permissions from api-versions.xml
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian `dpkg' package management program version 1.17.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
# Search for Git (git)
# -> found at /usr/bin/git
# Search for Cython (cython)
# -> found at /usr/local/bin/cython
# Search for Java compiler (javac)
# -> found at /usr/lib/jvm/java-7-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
# -> found at /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/keytool
# Install platform
# Android ANT is missing, downloading
# Downloading http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.tar.gz
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 9, in <module>
load_entry_point('buildozer==0.32', 'console_scripts', 'buildozer')()
File "/usr/local/lib/python2.7/dist-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 1020, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 90, in run_commands
func(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 100, in cmd_debug
self.buildozer.prepare_for_build()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 174, in prepare_for_build
self.target.install_platform()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 497, in install_platform
self._install_apache_ant()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 229, in _install_apache_ant
cwd=self.buildozer.global_platform_dir)
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 665, in download
urlretrieve(url, filename, report_hook)
File "/usr/lib/python2.7/urllib.py", line 268, in retrieve
block = fp.read(bs)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
socket.error: [Errno 104] Connection reset by peer
Same happens with android_new.
I really don't know what causes this error. In the past I had Buildozer up and running with no problem. But now on my new Macbook it just doesn't seem to work.
Thanks a lot for your help!