How to include aar files used in library projects in main project in Android

前端 未结 6 2110
名媛妹妹
名媛妹妹 2020-12-31 10:56

My project is including some library project. Library is using some aar files and its dependecny is already defined in the module: gradle file. I am facing problem in includ

6条回答
  •  爱一瞬间的悲伤
    2020-12-31 11:22

    You need to include the jcenter repository. In the app level build.gradle type:

       repositories {
               jcenter()
        }
    
    dependencies {
          compile 'com.package.youraarpackagename@aar'
    }
    

    These dependencies are different from your other ones.

提交回复
热议问题