Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
696 views
in Technique[技术] by (71.8m points)

refactoring - Why I can't rename style resources with dot notation in Android Studio?

I have this ongoing problem that I cannot rename any style resource written in a dot notation. I tried to search for solutions online but could not find any clue as of why may this be happening.

style resource parent - rename option appears

style resource child - rename option does not appear

Earlier this year I was using Android Studio 3.6 I believe and renaming was working fine, I then proceeded to update Android Studio to 4.1 and the renaming problem appeared. Since I wasn't able to find a solution I removed Android Studio completely and re-installed it on my computer (macOS). Sadly the problem is still here, so I truly don't know what to do or what could be causing this.

Here is some info about the AS I'm using:

Build: AI-201.8743.12.41.6953283, 202011050241 AI-201.8743.12.41.6953283, JRE 1.8.0_242-release-1644-b3-6915495x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.15.7 AS: 4.1.1; Kotlin plugin: 1.4.21-release-Studio4.1-1; Android Gradle Plugin: 4.1.0; Gradle: 6.5;


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...