How to add Android Support Repository to Android Studio?

前端 未结 6 2049
礼貌的吻别
礼貌的吻别 2020-12-09 07:47

I\'m using Android Studio with an external Android SDK. I have installed the support library and the support repository. The support repository is in:

~/Deve         


        
6条回答
  •  南笙
    南笙 (楼主)
    2020-12-09 08:02

    Instead of doing this:

    compile "com.android.support:support-v4:18.0.+"
    

    Do this:

    compile 'com.android.support:support-v4:18.0.+' 
    

    Worked for me

提交回复
热议问题