title: Unable to edit External Library Files - showing as Locked in Android Studio
body: <p>I have ran into an odd issue. I am using an external pdf viewer library for my app and the library gives full read &amp; write access (to modify files). During testing i realised a small glitch (which can be fixed by editing one of the library .java files) however when I go to edit the file it won't let me, in Android Studio it is showing the library as locked. I have tried removing the lock from the bottom right hand corner but this won't work either.</p>
  
  <p>Here is the library being added to the dependencies:</p>
  
  <pre><code>compile 'com.joanzapata.pdfview:android-pdfview:1.0.4@aar'
  </code></pre>
  
  <p>I am also attaching a screen shot of my Android Studio project pane as I believe this will help troubleshoot:</p>
  
  <p><a href="http://i.stack.imgur.com/BxGEA.png" rel="nofollow">Android Studio Project Pane Screen Shot</a></p>
  
  <p>The files all seem to be under 'class.jar' and the file I wish to edit is the 'Constants.java' file and I am using Android Studio v1.5 (Stable).</p>
  
  <p>Strangely enough, I got a friend to compile this library in his Android Studio and he was able to edit it, which I found weird. Somehow I have locked myself out and have only Read permissions; I am thinking this could be to do with committing my project to GitHub but I am not sure. </p>
  
  <p>I have searched around and tried all possible solutions but no success till now.</p>
  
  <p>Any help would be appreciated. Thanks in Advance! </p>