How to manually include external aar package using new Gradle Android Build System

后端 未结 23 1806
故里飘歌
故里飘歌 2020-11-22 03:58

I\'ve been experimenting with the new android build system and I\'ve run into a small issue. I\'ve compiled my own aar package of ActionBarSherlock which I\'ve called \'act

23条回答
  •  名媛妹妹
    2020-11-22 04:13

    In my case just work when i add "project" to compile:

    repositories {
        mavenCentral()
        flatDir {
            dirs 'libs'
        }
    }
    
    
    dependencies {
       compile project('com.x.x:x:1.0.0')
    }
    

提交回复
热议问题