Best way to incorporate Volley (or other library) into Android Studio project

前端 未结 8 807
被撕碎了的回忆
被撕碎了的回忆 2020-11-30 17:55

I\'ve seen different advice on the best way to do this This question covers creating a jar. Elsewhere, I\'ve seen advice to simply copy the volley source into your own proje

8条回答
  •  情深已故
    2020-11-30 18:33

    add

    compile 'com.mcxiaoke.volley:library:1.0.19'
            compile project('volley')
    

    in the dependencies, under build.gradle file of your app

    DO NOT DISTURB THE build.gradle FILE OF YOUR LIBRARY. IT'S YOUR APP'S GRADLE FILE ONLY YOU NEED TO ALTER

提交回复
热议问题