我准备把工程中的一些功能提取到单独的Module作为SDK,
app在引用newera_sdk后,build时会报错:
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 :newera_sdk project caused this error:
D:\Android\ProjectDev\HealthAideSDK\newera_sdk\libs\jl-component-lib_V1.2.2-release.aar,
D:\Android\ProjectDev\HealthAideSDK\newera_sdk\libs\jldecryption_v0.2-release.aar,
D:\Android\ProjectDev\HealthAideSDK\newera_sdk\libs\jl_bluetooth_connect_V1.3.3_10307-release.aar,
D:\Android\ProjectDev\HealthAideSDK\newera_sdk\libs\jl_bt_ota_V1.9.2-release.aar,
D:\Android\ProjectDev\HealthAideSDK\newera_sdk\libs\jl_dialog_V1.1.1-release.aar,
D:\Android\ProjectDev\HealthAideSDK\newera_sdk\libs\jl_health_http_V1.2.0-release.aar,
D:\Android\ProjectDev\HealthAideSDK\newera_sdk\libs\jl_rcsp_V0.5.1-release.aar,
D:\Android\ProjectDev\HealthAideSDK\newera_sdk\libs\JL_Watch_V1.9.1-release.aar
请问老师 这个问题要怎么解决?
2023-10-22 补充
hi,老师,我想把原来app/libs下的一些aar包提取到newera_sdk中,
但aar包的引用一起搞不定,
请教老师要怎么办。