When trying with virtualenv the following error occurs. Do you also have a solution for that error?
[INFO]: Selecting java build tool:
[INFO]: Detected highest available build tools version to be 19.1.0
[INFO]: Building with ant, as the highest build-tools-version is only 19.1.0
[DEBUG]: -> running ant debug
[DEBUG]: Buildfile: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/build.xml
[DEBUG]:
[DEBUG]: -set-mode-check:
[DEBUG]:
[DEBUG]: -set-debug-files:
[DEBUG]:
[DEBUG]: -check-env:
[DEBUG]: [checkenv] Android SDK Tools Revision 22.6.2
[DEBUG]: [checkenv] Installed at /home/sjuk/.buildozer/android/platform/android-sdk-20
[DEBUG]:
[DEBUG]: -setup:
[DEBUG]: [echo] Project Name: MyApplication-0.1
[DEBUG]: [gettype] Project Type: Application
[DEBUG]:
[DEBUG]: -set-debug-mode:
[DEBUG]:
[DEBUG]: -debug-obfuscation-check:
[DEBUG]:
[DEBUG]: -pre-build:
[DEBUG]: [copy] Copying 25 files to /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/tmp-src
[DEBUG]:
[DEBUG]: -build-setup:
[DEBUG]: [getbuildtools] Using latest Build Tools: 19.1.0
[DEBUG]: [echo] Resolving Build Target for MyApplication-0.1...
[DEBUG]: [gettarget] Project Target: Android 4.4.2
[DEBUG]: [gettarget] API level: 19
[DEBUG]: [echo] ----------
[DEBUG]: [echo] Creating output directories if needed...
[DEBUG]: [mkdir] Created dir: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin
[DEBUG]: [mkdir] Created dir: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res
[DEBUG]: [mkdir] Created dir: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/rsObj
[DEBUG]: [mkdir] Created dir: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/rsLibs
[DEBUG]: [mkdir] Created dir: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/gen
[DEBUG]: [mkdir] Created dir: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/classes
[DEBUG]: [mkdir] Created dir: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/dexedLibs
[DEBUG]: [echo] ----------
[DEBUG]: [echo] Resolving Dependencies for MyApplication-0.1...
[DEBUG]: [dependency] Library dependencies:
[DEBUG]: [dependency] No Libraries
[DEBUG]: [dependency]
[DEBUG]: [dependency] ------------------
[DEBUG]: [echo] ----------
[DEBUG]: [echo] Building Libraries with 'debug'...
[DEBUG]: [subant] No sub-builds to iterate on
[DEBUG]:
[DEBUG]: -code-gen:
[DEBUG]: [mergemanifest] Merging AndroidManifest files into one.
[DEBUG]: [mergemanifest] Manifest merger disabled. Using project manifest only.
[DEBUG]: [echo] Handling aidl files...
[DEBUG]: [aidl] No AIDL files to compile.
[DEBUG]: [echo] ----------
[DEBUG]: [echo] Handling RenderScript files...
[DEBUG]: [echo] ----------
[DEBUG]: [echo] Handling Resources...
[DEBUG]: [aapt] Generating resource IDs...
[DEBUG]: [aapt] (skipping file '.gitkeep' due to ANDROID_AAPT_IGNORE pattern '.*')
[DEBUG]: [echo] ----------
[DEBUG]: [echo] Handling BuildConfig class...
[DEBUG]: [buildconfig] Generating BuildConfig class.
[DEBUG]:
[DEBUG]: -pre-compile:
[DEBUG]:
[DEBUG]: -compile:
[DEBUG]: [javac] Compiling 26 source files to /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/classes
[DEBUG]: [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[DEBUG]: [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[DEBUG]: [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[DEBUG]: [javac] Note: Some input files use or override a deprecated API.
[DEBUG]: [javac] Note: Recompile with -Xlint:deprecation for details.
[DEBUG]: [javac] 3 warnings
[DEBUG]:
[DEBUG]: -post-compile:
[DEBUG]:
[DEBUG]: -obfuscate:
[DEBUG]:
[DEBUG]: -dex:
[DEBUG]: [dex] input: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/classes
[DEBUG]: [dex] Converting compiled files and external libraries into /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/classes.dex...
[DEBUG]:
[DEBUG]: -crunch:
[DEBUG]: [crunch] Crunching PNG Files in source dir: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/src/main/res
[DEBUG]: [crunch] To destination dir: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res
[DEBUG]: [crunch] Processing image to cache: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/src/main/res/drawable-hdpi/ic_launcher.png => /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable-hdpi/ic_launcher.png
[DEBUG]: [crunch] (processed image to cache entry /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable-hdpi/ic_launcher.png: 0% size of source)
[DEBUG]: [crunch] Processing image to cache: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/src/main/res/drawable-mdpi/ic_launcher.png => /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable-mdpi/ic_launcher.png
[DEBUG]: [crunch] (processed image to cache entry /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable-mdpi/ic_launcher.png: 0% size of source)
[DEBUG]: [crunch] Processing image to cache: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/src/main/res/drawable-xhdpi/ic_launcher.png => /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable-xhdpi/ic_launcher.png
[DEBUG]: [crunch] (processed image to cache entry /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable-xhdpi/ic_launcher.png: 105% size of source)
[DEBUG]: [crunch] Processing image to cache: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/src/main/res/drawable-xxhdpi/ic_launcher.png => /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable-xxhdpi/ic_launcher.png
[DEBUG]: [crunch] (processed image to cache entry /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable-xxhdpi/ic_launcher.png: 59% size of source)
[DEBUG]: [crunch] Processing image to cache: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/src/main/res/drawable/icon.png => /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable/icon.png
[DEBUG]: [crunch] (processed image to cache entry /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/res/drawable/icon.png: 126% size of source)
[DEBUG]: [crunch] Crunched 5 PNG files to update cache
[DEBUG]:
[DEBUG]: -package-resources:
[DEBUG]: [aapt] Creating full resource package...
[DEBUG]: [aapt] (skipping file '.gitkeep' due to ANDROID_AAPT_IGNORE pattern '.*')
[DEBUG]: [aapt] (skipping file '.gitkeep' due to ANDROID_AAPT_IGNORE pattern '.*')
[DEBUG]:
[DEBUG]: -package:
[DEBUG]: [apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[DEBUG]: [apkbuilder] Creating MyApplication-0.1-debug-unaligned.apk and signing it with a debug key...
[DEBUG]:
[DEBUG]: -post-package:
[DEBUG]:
[DEBUG]: -do-debug:
[DEBUG]: [zipalign] Running zip align on final apk...
[DEBUG]: [echo] Debug Package: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/MyApplication-0.1-debug.apk
[DEBUG]: [propertyfile] Creating new property file: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/build.prop
[DEBUG]: [propertyfile] Updating property file: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/build.prop
[DEBUG]: [propertyfile] Updating property file: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/build.prop
[DEBUG]: [propertyfile] Updating property file: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/build.prop
[DEBUG]:
[DEBUG]: -post-build:
[DEBUG]: [delete] Deleting directory /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/tmp-src
[DEBUG]:
[DEBUG]: debug:
[DEBUG]:
[DEBUG]: BUILD SUCCESSFUL
[DEBUG]: Total time: 4 seconds
[INFO]: <- directory context /home/sjuk/src/myapp/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]: # Copying APK to current directory
[INFO]: # Found APK file: /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/MyApplication-0.1-debug.apk
[DEBUG]: -> running cp /home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/bin/MyApplication-0.1-debug.apk ./
Traceback (most recent call last):
File "/home/sjuk/env/buildozer/bin/buildozer", line 11, in <module>
sys.exit(main())
File "/home/sjuk/env/buildozer/local/lib/python2.7/site-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/home/sjuk/env/buildozer/local/lib/python2.7/site-packages/buildozer/__init__.py", line 1058, in run_command
self.target.run_commands(args)
File "/home/sjuk/env/buildozer/local/lib/python2.7/site-packages/buildozer/target.py", line 92, in run_commands
func(args)
File "/home/sjuk/env/buildozer/local/lib/python2.7/site-packages/buildozer/target.py", line 104, in cmd_debug
self.buildozer.build()
File "/home/sjuk/env/buildozer/local/lib/python2.7/site-packages/buildozer/__init__.py", line 212, in build
self.target.build_package()
File "/home/sjuk/env/buildozer/local/lib/python2.7/site-packages/buildozer/targets/android.py", line 817, in build_package
copyfile(join(apk_dir, apk), join(self.buildozer.bin_dir, apk_dest))
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/home/sjuk/src/myapp/.buildozer/android/platform/build/dists/myapp/build/outputs/apk/myapp-debug.apk'Am Donnerstag, 19. April 2018 15:10:01 UTC+2 schrieb Sanjoy Ghosh:
Any other problems?