关闭

集成华为推送时报错:API 'android.registerTransform' is removed.

瞎溜达 1月前 ⋅ 171 阅读

集成华为推送时在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

 

 


全部评论: 0

    我有话说: