赞
踩
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :mylibrary project caused this error: xxxx
- configurations.maybeCreate("default")
- artifacts.add("default", file('dynamicIsLandLib.aar'))
然后点击 Sync Now
最终项目结构:
其他:.gitignore 里面就把/build 忽略调就行了
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。