Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UnsupportedOperationException: isDirectory is not implemented: isDirectory is not implemented

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

like image 639
No_Rulz Avatar asked Mar 07 '14 13:03

No_Rulz


2 Answers

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.

like image 185
Pedantic Avatar answered Nov 05 '22 23:11

Pedantic


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

Update

Now, update your Android Studio to 0.5.2, it is working perfectly.

like image 2
Ajay S Avatar answered Nov 06 '22 00:11

Ajay S