Android Studio 升级3.2之后找不到moudle中的类?

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yechaoa/article/details/85075029

以友盟推送为例,PushAgent报错,找不到 com.umeng.message.PushAgent,


在as3.0+的版本之后,引用的方式 compile 变为 implementation,


但是在moudle中,需要用api的方式代替 implementation,重新编译即可,不然会找不到对外暴露的类或方法


具体查看:https://blog.csdn.net/u011598031/article/details/82152071

猜你喜欢

转载自blog.csdn.net/yechaoa/article/details/85075029
今日推荐