API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.applicationId'

后端 未结 6 1769
时光说笑
时光说笑 2021-02-03 17:36

When building gradle I\'m getting this message:

API \'BaseVariant.getApplicationIdTextResource\' is obsolete and has been replaced with \'VariantPr

6条回答
  •  时光说笑
    2021-02-03 18:15

    It seems like the Navigation Safe Args plugin uses getApplicationIdTextResource(), so it is most likely that the error message is caused by your usage of that plugin.

    You'd want to star the existing issue to ask the Safe Args plugin to use the new replacement API.

提交回复
热议问题