Adding external library in Android studio

前端 未结 19 1469
面向向阳花
面向向阳花 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:25

    I had the same problem. This happened because of core library dependency. I was using javax.* . This is what i did to fix

    In File->Project Structure->Dependencies I added this as as provided file, not a compile. Then re build the project.

    This problem started after upgrade of android studio. But I think it happens when you try to edit you build files manually.

提交回复
热议问题