Check Python 3.8+

This commit is contained in:
topjohnwu 2022-12-26 00:09:27 -08:00
parent a848783b97
commit 831a398bf1

View File

@ -48,8 +48,8 @@ if not no_color and is_windows:
no_color = True
# Environment checks
if not sys.version_info >= (3, 6):
error('Requires Python 3.6+')
if not sys.version_info >= (3, 8):
error('Requires Python 3.8+')
if 'ANDROID_SDK_ROOT' not in os.environ:
error('Please add Android SDK path to ANDROID_SDK_ROOT environment variable!')