build的时候弹出了No cached version available for offline mode这个错误首先打开File—Settings File—Settings 搜索offline 找到Gradle Offline Work 点击Apply,重新Build就可以了