I suppose this a really dumb question, and I can't find any others like it so I suppose it is REALLY dumb, but it is still driving me nuts and I can't figure this out.
So every time I open a file in Android Studio it won't let me edit it, like it is in some kind of read-only or selection mode or something. It'll still let me select and drag text and paste text... just not type. Well, usually. I don't know why but after fiddling around a bunch sometimes it will sometimes let me edit and I can't tell what I'm doing to get that to change.
Any help would be appreciated, I'm sure this is a quick fix...
I think, the file is locked as READ-ONLY.
You can click on the lock icon to toggle the READ-ONLY Option.The option can be found at the BOTTOM-RIGHT Corner of the Android Studio.
I also faced same problem.The solution that helped me is to Invalidating Caches / restarting android studio.
Go to Files -> Invalidate Caches / Restart and wait for Rebuilding the project.
Try this solution :
Go to Files > Made File Writable
Here you go , you can now edit your files .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With