While adding the android:text="" property to my XML file, I want to quickly extract the string, but the quickfix option is not showing up anymore
https://i.stack.imgur.com/0iAAW.png
Here’s a picture of what shows up when I use ALT+ENTER in the string. I also want to mention that it used to work no problem before, but suddenly it just doesn’t appear anymore. I checked the option in the File/Settings/Editor/Intentions/Android/Extract string resource as well and it still didn’t solve the problem.
Does anyone know how I could fix this?
2
Answers
I fixed this by using old compileSdk version.(33 to 31 for me)
By modifying as below, it works. In
build.gradle
,compileSdk
andtargetSdk
from33
to31
androidx.core:core-ktx:1.6.0
androidx.appcompat:appcompat:1.3.1
com.google.android.material:material:1.4.0