Adding external library in Android studio

前端 未结 19 1321
面向向阳花
面向向阳花 2020-11-22 05:51

I want to add external library https://github.com/foursquare/foursquare-android-oauth to my Android application (I use Android Studio, the instructions provided by lib autho

19条回答
  •  遇见更好的自我
    2020-11-22 06:35

    1.Goto File -> New -> Import Module
       2.Source Directory -> Browse the project path.
       3.Specify the Module Name – it is used for internal project reference.
    

    Open build.gradle (Module:app) file.

     implementation project(':library')
    

提交回复
热议问题