我一直在试图通过下载这个软件库https://android.googlesource.com/platform/frameworks/volley,然后按照本指南操作导入模块到我的项目的凌空库添加到我的Android项目:凌空错误导入时模块
First get latest volley with git (git clone >https://android.googlesource.com/platform/frameworks/volley). In your current project (android studio) click [File] --> [New] -->[Import >Module]. Now select the directory where you downloaded Volley to. Now Android studio might guide you to do the rest but continue guide to verify >that everything works correct Open settings.gradle (find in root) and add (or verify this is included):
include ':app', ':volley' Now go to your build.gradle in your project and add the dependency:
compile project(":volley").
的gradle时尝试在导入模块后同步项目,我收到以下错误消息:错误:无法下载layoutlib-api.jar(com.android.tools.layoutlib:layoutlib-api:24.3.1):没有可用的缓存版本用于离线模式。