我一直在試圖通過下載這個軟件庫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):沒有可用的緩存版本用於離線模式。