Adding external library in Android studio

前端 未结 19 1345
面向向阳花
面向向阳花 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条回答
  •  萌比男神i
    2020-11-22 06:21

    Turn any github project into a single line gradle implementation with this website

    https://jitpack.io/

    Example, I needed this project: https://github.com/mik3y/usb-serial-for-android

    All I did was paste this into my gradle file:

    implementation 'com.github.mik3y:usb-serial-for-android:master-SNAPSHOT'
    

提交回复
热议问题