From 515ab1e2d11052069f2e3127bb6ab71c347b4eba Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Mon, 27 Jul 2015 16:06:25 -0700 Subject: [PATCH] Add system/core to the PYTHONPATH. There's an adb Python interface now, and system/core needs to be in the PYTHONPATH for `import adb` to find it. Change-Id: I712767a2ba96cb017ce5857dc367e4cacf2ec51f --- envsetup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/envsetup.sh b/envsetup.sh index 62802df6d..3c29e8885 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -198,6 +198,7 @@ function setpaths() fi export PATH=$ANDROID_BUILD_PATHS$PATH + export PYTHONPATH=$T/system/core:$PYTHONPATH unset ANDROID_JAVA_TOOLCHAIN unset ANDROID_PRE_BUILD_PATHS -- 2.11.0