fat-aar-android
fat-aar-android copied to clipboard
Direct local .aar file dependencies are not supported when building an AAR.
Describe the issue A clear and detailed description of what the issue is. embed project(path: ':signature-pad', configuration: 'default') embed project(path: ':msdk', configuration: 'default') embed (name: 'lib1-release', ext: 'aar') embed (name: 'lib2_1.5.5', ext: 'aar') embed (name:'lib3 -1.55', ext: 'aar') preprodImplementation project(":signature-pad") preprodImplementation project(":msdk")
Note: msdklib contain lib1-release, lib2_1.5.5, 'lib3 -1.55' msdk2lib contain msdklib . while trying to create msdk2lib.aar getting below issue
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 :msdklib project caused this error
Build Environment
- Operating System: [e.g. WindowOS]
- Gradle Plugin Version: [e.g. 4.2.0]
- Gradle Version: [e.g. 6.5]
- Fat-aar Version: [e.g. 1.3.3]
Im also having the same issue
any solutions on above query ?
me too
You need to add the local libs dir to your repositories in the project gradle file:
repositories {
flatDir { dirs 'libs' }
}
me too. any solutions on above query ?