* What went wrong:
Execution failed for task ':app:bundleDebugAar'.
> 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 :app project caused this error: D:\workcode\android\test\app\libs\xxxx.aar
 

 

 

 

这个BUG困扰了我一上午,百度也没有相关的解决方法。我已经解决特此记录。

Direct local .aar file dependencies are not supported when building an AAR.

这种引入就会报上面这个错误。

---------------------------------------------------------

相关文章:

  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-09-23
  • 2022-03-10
  • 2021-09-12
  • 2021-08-07
  • 2021-05-31
猜你喜欢
  • 2021-05-31
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2021-08-23
  • 2022-12-23
相关资源
相似解决方案