下午好,我在android项目中遇到了一个新问题,我不知道为什么,但是我无法在我的项目中实现凌空库,我正在使用Android Studio 3.1.3 API 26
我需要帮助。

android - 我无法在我的Android项目Android Studio 3.1.3中使用 Volley 库-LMLPHP

最佳答案

将您的gradle更新为v 3.2.0

classpath 'com.android.tools.build:gradle:3.2.0'


并确保您已添加:

repositories {
        google() // should be always the first one
        jcenter { url "http://jcenter.bintray.com/" }
         maven {
            url "https://jitpack.io"
        }
}


在您的根build.gradle存储库中,该存储库位于项目root -> build.gradle中。

为了更好的理解:

android - 我无法在我的Android项目Android Studio 3.1.3中使用 Volley 库-LMLPHP

09-10 01:58
查看更多