Android Studio 报错:Argument for @NotNull parameter 'message' of com/android/tools/idea/gradle/project
Argument for @NotNull parameter 'message' of com/android/tools/idea/gradle/project/sync/GradleSyncState.syncFailed must not be nulljava.lang.IllegalArgumentException: Argument for @NotNull parameter..
at com.android.tools.idea.gradle.project.sync.GradleSyncState.syncFailed(GradleSyncState.java)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:395)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
错误代码如上,此错误应该是gradle不支持软链接问题导致,我的解决办法是,把项目从as上移除,重新打开as重新导入项目,成功!
as的各种错误相信各位也是见识了,每次都会搞到无语,而每次解决的方式又都那么的简单粗暴。
更多推荐
所有评论(0)