How to add a jar in External Libraries in android studio

前端 未结 14 2267
北海茫月
北海茫月 2020-11-22 16:17

I am new to Android Studio. What I need to do is add a few jar files in the External Libraries below the < JDK > folder.

14条回答
  •  孤独总比滥情好
    2020-11-22 16:40

    Put your JAR in app/libs, and in app/build.gradle add in the dependencies section:

    compile fileTree(dir: 'libs', include: ['*.jar'])

提交回复
热议问题