• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android Studio - Gradle build fail - parameter is incorrect - FileBasedIndexImpl

NoelTD

Lurker
Hi,

I've just installed Android Studio 1.5.1 on my Windows 7 PC with java SDK 1.7.0_79 but I'm getting a fail message trying to build my first basic / blank project ( device target Samsung Galaxy S6 )

2016-02-15 12:46:14,190 [ 24412] INFO - il.indexing.FileBasedIndexImpl - The parameter is incorrect
java.io.IOException: The parameter is incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:393)
at java.io.File.getCanonicalPath(File.java:618)
at com.intellij.util.indexing.FileBasedIndexImpl.calcConfigPath(FileBasedIndexImpl.java:366)
at com.intellij.util.indexing.FileBasedIndexImpl.<init>(FileBasedIndexImpl.java:157)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

Anyone any idea how to resolve this?

Regards,


Noel
 
Thanks for your reply. The project location is c:\AndroidProjects with sdk location c:\Android ( my work PC, the one I'm having the issue ) had default network shares which the Android Studio install took as default, but I changed them so that they're on the local drive. ( I'd had network issues on various development apps before so thought it a good idea to try to avoid that from the start. )
 
Back
Top Bottom