Something is wrong with your installed virtualenv version: 15.1.0

11-07 19:40:54 E/CollectingTestListener: Early failure resulting in no testRunStart. Results might be inconsistent:
com.android.tradefed.targetprep.TargetSetupError: Something is wrong with your installed virtualenv version: 15.1.0

sudo apt-get remove virtualenv
sudo apt install python-pip
pip install virtualenv
sudo pip uninstall virtualenv
pip install virtualenv
pip install virtualenvwrapper

配置环境变量
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
export VIRTUALENVWRAPPER_VIRTUALENV=~/.local/bin/virtualenv
source ~/.local/bin/virtualenvwrapper.sh

你可能感兴趣的:(android,android)