API"BaseVariant.getApplicationIdTextResource"已过时,并已替换为"VariantProperties.applicationI

编程入门 行业动态 更新时间:2024-10-27 12:36:21
本文介绍了API"BaseVariant.getApplicationIdTextResource"已过时,并已替换为"VariantProperties.applicationId"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

构建gradle时,我收到此消息:

When building gradle I'm getting this message:

API'BaseVariant.getApplicationIdTextResource'已过时,并已替换为'VariantProperties.applicationId'

我正在使用 Android Studio 4.1 Canary 10 和 gradle:4.1.0-alpha10

推荐答案

似乎是 Navigation Safe Args插件使用 getApplicationIdTextResource(),因此错误消息很可能是由您对该插件的使用引起的.

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.

您想为存在的问题加注星标,以要求Safe Args插件使用新的替换API.

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

更多推荐

API"BaseVariant.getApplicationIdTextResource"已过时,并已替换为"VariantPro

本文发布于:2023-09-18 14:15:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1466880.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:并已   BaseVariant   API   quot   applicationId

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!