libModukle中引用arr资源异常
2018-10-29 本文已影响12人
shiyuzhe
主Module : app
library Module : dss
图1appGradle dirs project(':dss').file('libs')
appGradledssGradle
dirs'libs','../dss/libs'
def dir =new File('dss/libs')
dir.traverse(nameFilter: ~/.*\.aar/) { file ->
def name = file.getName().replace('.aar','')
implementation(name: name,ext:'aar')}
dssGradle dssGradle2