Can some tell me why i am not able to edit some java files in android studio(2.2.2) and why i am seeing a lock at the java files. How to make it editable.enter image description here
Right-click on the file. In the menu that appears, select Lock File. To unlock, right-click the file and select Unlock File.
Android Studio can now build Java modules and run them in the local JRE.
If it is a part of any library i think you should not unlock it. But it is a class created by you then you can unlock it .
At right corner below of your logcat you can see a lock like this :
you can achieve this by clicking the lock then it will unlock the class
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