美文网首页
Flutter项目运行后出现Exception in threa

Flutter项目运行后出现Exception in threa

作者: 一路向北gs | 来源:发表于2020-06-15 20:21 被阅读0次

    Finished with error: ProcessException: Process "D:\Develop\code\androids\flutter_trip2\android\gradlew.bat" exited abnormally: Exception in thread "main" java.lang.NullPointerException at org.gradle.wrapper.BootstrapMainStarter.findLauncherJar(BootstrapMainStarter.java:34) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:25) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) Command: D:\Develop\code\androids\flutter_trip2\android\gradlew.bat -v

    解决方法如下图:

    修改本项目下的grade-wrapper.properties文件,修改路径为本地路径

    相关文章

      网友评论

          本文标题:Flutter项目运行后出现Exception in threa

          本文链接:https://www.haomeiwen.com/subject/znghxktx.html