观心静

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

报错信息

  debug模式是好的,但是编译app时报错:

  Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classe

解决办法

  参考:https://blog.csdn.net/yuanzhihui123/article/details/123653733

  在有依赖aar的Module 将的依赖改成  

    compileOnly fileTree(dir: 'libs', include: ['*.jar', '*.aar'])

 

End

posted on 2022-08-13 12:08  观心静  阅读(1069)  评论(0编辑  收藏  举报