首页 > 其他分享 >Android开发 Direct local .aar file dependencies are not supported when building an AAR. The resulting

Android开发 Direct local .aar file dependencies are not supported when building an AAR. The resulting

时间:2022-08-13 12:23:07浏览次数:139  
标签:building because supported AAR 报错 file aar

报错信息

  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

标签:building,because,supported,AAR,报错,file,aar
From: https://www.cnblogs.com/guanxinjing/p/16582763.html

相关文章