调整到“project”目录下,然后新建module,将目标library的内容复制进新建的library中(文件管理器下复制粘贴)。然后在Gradle Scripts下的build.gradle(Module:app)中配置:compile project(':library')
compile fileTree(dir: 'libs', include: ['*.jar'])
在setting.gradle(project setting)中加入include ':library'