What is the fix for this normalizeAndCheck (UnixPath.java) NullPointerException in Gradle sync?

I recently upgraded from Android Studio from version 3.0 alpha to 3.0 beta, and this error started with Gradle synchronization. How to fix it?

Gradle sync failed: Cause: java.lang.NullPointerException
            at sun.nio.fs.UnixPath.normalizeAndCheck(UnixPath.java:77)
            at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
            at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
+4
source share
1 answer

Android Studio 3.0 beta shows errors when upgrading from canary alpha Android 3.0, as Google warns developers about the release. However, it’s easy to skip reading these notes and click Refresh.

Be sure to follow these steps for each project, as recommended by the Android Studio team:

" , " " > " " - . Gradle, " " ".

+8

Source: https://habr.com/ru/post/1684147/


All Articles