From 18926d828aa7b5baa65c400f38c2a8d17c67f570 Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Sun, 10 Nov 2019 01:22:43 +0100 Subject: [PATCH] Exposes ANDROID_SDK_HOME to rebuild_updated_recipes The error was: ``` Traceback (most recent call last): File "ci/rebuild_updated_recipes.py", line 112, in main() File "ci/rebuild_updated_recipes.py", line 108, in main build(target_python, recipes) File "ci/rebuild_updated_recipes.py", line 59, in build android_sdk_home = os.environ['ANDROID_SDK_HOME'] File "/home/user/app/venv/lib/python3.6/os.py", line 669, in __getitem__ raise KeyError(key) from None KeyError: 'ANDROID_SDK_HOME' ``` https://travis-ci.org/kivy/python-for-android/jobs/609719811 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 05687dffd6..0b492a65b7 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,7 @@ test: @if test -n "$$CI"; then .tox/py$(PYTHON_MAJOR_MINOR)/bin/coveralls; fi; \ rebuild_updated_recipes: virtualenv + ANDROID_SDK_HOME=$(ANDROID_SDK_HOME) ANDROID_NDK_HOME=$(ANDROID_NDK_HOME) \ $(PYTHON) ci/rebuild_updated_recipes.py testapps/python2/armeabi-v7a: virtualenv