I just imported my project in Android-studio and trying to create a new Activity in it. But I can't create an Activity in android-studio. I refer here and I can't see the option of Mark Directory As and it shows an UOE in Event Log as
Error message : UnsupportedOperationException: isDirectory is not implemented: isDirectory is not implemented.
After updating my android-studio only I has this problem
Seems to be a recent bug in IntelliJ introduced in EAP 13, fixed in EAP 13.1. Check if an update is generally available for your platform and upgrade again.
It is bug in Android Studio 0.5.1, I also faced same issue after upgrading to 0.5.1
This is a bug in IntelliJ which was merged into the subsequent EAP build. It'll be available in AS 0.5.2. Until then, the workaround is to copy over an existing file.
You can see this google thread http://code.google.com/p/android/issues/detail?id=66818
Now, update your Android Studio to 0.5.2, it is working perfectly.
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