更新时间:2022-12-13 13:31:25
这是因为您将传递依赖声明为 implementation
.使用 api
而不是 implementation
更改:
It is because you declared the transitive dependency as implementation
. Use api
instead of implementation
change:
implementation 'com.google.code.gson:gson:2.8.2'
到:
api 'com.google.code.gson:gson:2.8.2'