将资源文件迁移到Androidx [英] Migrate resource files to Androidx

查看:83
本文介绍了将资源文件迁移到Androidx的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在进行重构->在Android Studio项目中迁移到Androidx. 我注意到仅迁移了Java文件,而不迁移了xml资源.

I am doing refactoring --> migrate to Androidx in an Android Studio project. I am noticing that only java files are been migrated, but not the xml resources.

是否存在一种自动迁移它们的方法?

It exists one method to automatically migrate them too?

推荐答案

否,但是可以右键单击res目录,然后单击搜索"->替换为路径"

No, but one can right-click res directory, then "search" -> "replace in path"

根据迁移指南替换所有打开/关闭标签.

in order to replace all the open/close tags, according to the migration guide.

这篇关于将资源文件迁移到Androidx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆