A build only device cannot be used to run this target. 造成这个错误的原因是,你选择的版本号,在虚拟机中没有, 所以我们要重新选择版本号 这里写图片描述 这里写图片描述