Use support library in android projects and library (Android Studio)

前端 未结 4 341
别那么骄傲
别那么骄傲 2021-01-04 02:50

I\'m using the new Android Studio, I\'m looking for a way to use the support library from multiple projects. Basically I have a project that uses the ActionBarSherlock

4条回答
  •  醉梦人生
    2021-01-04 03:24

    Instead of importing android support library as jar, I changed the libraries (in my case facebook sdk) dependencies in build.gradle to:

    dependencies {
        compile 'com.android.support:support-v4:13.0.0'
     }
    

提交回复
热议问题