Gradle error upgrading to Android Studio 3.0 Beta 1

后端 未结 7 787

Note: This seems to be an issue with the Android plugin. See comments for associated issues.

I get the following gradle error when building the project:



        
7条回答
  •  春和景丽
    2020-12-01 11:05

    Gradle sync failed: Cause: java.lang.NullPointerException
                at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:98)
                at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
                at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
                at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
                at java.nio.file.Paths.get(Paths.java:84)
    

    Read official Release Guideline

    Resolve this issue selecting Build > Clean Project from the menu bar—you need to perform this action only once for each project. You can then sync your project files with Gradle by clicking Sync Project from the toolbar.

    NOTE

    3.0 Beta 1 or 3.0 Beta 2

    An early version of a program or application that contains most of the major features, but is not yet complete. Sometimes these versions are released only to a select group of people, or to the general public, for testing and feedback .

提交回复
热议问题