diff --git a/devlib/utils/android.py b/devlib/utils/android.py index 6e56c58..1a195a6 100644 --- a/devlib/utils/android.py +++ b/devlib/utils/android.py @@ -424,7 +424,7 @@ def _initialize_with_android_home(env): logger.debug('Using ANDROID_HOME from the environment.') env.android_home = android_home env.platform_tools = os.path.join(android_home, 'platform-tools') - os.environ['PATH'] += os.pathsep + env.platform_tools + os.environ['PATH'] = env.platform_tools + os.pathsep + os.environ['PATH'] _init_common(env) return env