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
Local .aar file dependencies are not supported when building an AAR file. This means that if you include a local .aar file as a dependency in your project, the resulting AAR file will be incomplete and may not work as expected.
When you build an AAR file, it should include all the necessary classes and resources from its dependencies. However, if you have a local .aar file as a dependency, the build process will not be able to access the classes and resources from that file.
To resolve this issue, you should consider using remote dependencies instead of local .aar files. Remote dependencies can be downloaded from a repository during the build process, ensuring that all the necessary files are included in the resulting AAR file.
If you need to include a local .aar file in your project, you may need to find an alternative solution, such as extracting the necessary classes and resources from the .aar file and including them directly in your project
原文地址: https://www.cveoy.top/t/topic/iehI 著作权归作者所有。请勿转载和采集!