diff --git a/setup.py b/setup.py index 11f90fe908..f3feb4b830 100755 --- a/setup.py +++ b/setup.py @@ -132,7 +132,7 @@ class SetEnvVar(object): file.write('export %s=%s\n' % (key, value)) file.write('export PATH=$%s:$PATH\n' % key) if key == ANDROID_SDK_ROOT: - file.write('export PATH=$%s/sdk/tools:$%s/sdk/platform-tools:$PATH\n' % (key, key)) + file.write('export PATH=$%s/tools:$%s/platform-tools:$PATH\n' % (key, key)) file.close() return True @@ -271,7 +271,7 @@ class SetEnvVar(object): if not android_sdk_root: return False - android_path = os.path.join(android_sdk_root, 'sdk/tools/android') + android_path = os.path.join(android_sdk_root, 'tools/android') if os.path.isfile(android_path): return True else: