1. Are you ready for the Galaxy S20? Here is everything we know so far!

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

Discussion in 'Android Development' started by NoelTD, Feb 15, 2016.

  1. NoelTD

    NoelTD Lurker
    Thread Starter

    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
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Welcome to Android Forums.

    This thread was moved to this forum that is dedicated to discussing development questions.

    ... Thom
     
  3. Deleted User

    Deleted User Guest

  4. NoelTD

    NoelTD Lurker
    Thread Starter

    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. )
     
Loading...
Similar Threads - Android Studio Gradle
  1. Leodev
    Replies:
    1
    Views:
    449
  2. Karman15
    Replies:
    1
    Views:
    436
  3. Sterfry
    Replies:
    7
    Views:
    594
  4. twilight_dream
    Replies:
    2
    Views:
    715
  5. Floris91
    Replies:
    3
    Views:
    585
  6. Minuous
    Replies:
    5
    Views:
    962
  7. kartikips
    Replies:
    1
    Views:
    621
  8. SrLimon
    Replies:
    1
    Views:
    1,721
  9. Marinescu Cristian
    Replies:
    3
    Views:
    1,553
  10. morningsashimi
    Replies:
    0
    Views:
    1,753

Share This Page

Loading...