再把下面两个加到build.gradle里就好了dependencies{compile(name:'library-2.4.1',ext:'aar')}repositories{jcenter()flatDir{dirs'libs'}}