New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AS 7.1.1,插件在追加 flatDir 时失败报错 #37
Comments
@chenfei0928 问题同 issue31, 解决办法 |
@trycatchx btw,问下大佬gradle中指定flatDir的作用到底是啥...和不加依赖项目自身aar有啥区别么 |
@asker517
2、“不加依赖项目自身aar” 这个没有明白是什么意思。 3、至于上面的编译错误信息:
原因是因为 你那边强制不使用存储库,需要把这个设置
|
@trycatchx 明白了 感谢大佬 对于这个项目本身去指定local aar位置当然是没问题的
我的意思是通常网上大多数文章都在依赖本地项目aar的时候都会加上诸如 dependencies.apply {
add(implementation, fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar"))))
} 这种方式去引用有没有啥差异 |
上面代码生效于当前的 |
@trycatchx 非常感谢! 这样子啊~ 明白了明白了! |
Android Studio/AGP 版本:7.1.1
Gradle版本:7.2
The text was updated successfully, but these errors were encountered: