7

When creating a new project in Android Studio, before I do anything, I get this error:

Error:java.io.IOException: Operation not supported

Operation not supported

Even after a gradle sync and update I still get this error. Anyone got a clue? Thanks

TomG103
  • 311
  • 2
  • 26

1 Answers1

11

Setting it to create the app on my desktop stopped that error.

TomG103
  • 311
  • 2
  • 26
  • 2
    Thanks for this pointer. I was trying to use a Network share to hold the projects and the error wasn't helpful at all. I moved the project back to local storage and it compiled without any problems. – Ashwin May 13 '15 at 16:27
  • 2
    is there any other solution? – Mounir Elfassi Jun 04 '15 at 13:05
  • 1
    I'd also like to add that I was opening this project on a Network share, causing the same exact error, and once I copied it to my machine, it built just fine. – rclai Dec 03 '15 at 14:38
  • I had the same issue – I stored the project in a Google Drive folder, but Gradle kept failing. I moved it to a local folder, and it was working. I suspect that either `gradle` or `java` can't work with a network drive for some reason... – frankliuao Jul 05 '22 at 23:30
  • Tried to understand why it doesn't work with Google Drive. Didn't find anything that would differentiate a Google Drive folder from a regular folder. **So** weired. – frankliuao Jul 06 '22 at 04:20