importing jar libraries into android-studio

后端 未结 13 1742
孤独总比滥情好
孤独总比滥情好 2020-11-29 01:32
android-studio 0.2.7
Fedora 18

Hello,

I am trying to add the jtwitter jar to my project.

First I tried doing the following:

13条回答
  •  庸人自扰
    2020-11-29 02:15

    I see so many complicated answer.

    All this confused me while I was adding my Aquery jar file in the new version of Android Studio.

    This is what I did :

    Copy pasted the jar file in the libs folder which is visible under Project view.

    And in the build.gradle file just added this line : compile files('libs/android-query.jar')

    PS : Once downloading the jar file please change its name. I changed the name to android-query.jar

提交回复
热议问题