集成华为推送时在gradle.properties中的plugins添加:
id 'com.huawei.agconnect'
后报错:
An exception occurred applying plugin request [id: 'com.huawei.agconnect']
> Failed to apply plugin 'com.huawei.agconnect'.
> API 'android.registerTransform' is removed.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
解决:
在gradle.properties中添加:
apmsInstrumentationEnabled=false
注意:本文归作者所有,未经作者允许,不得转载