请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

flutter gallery的例子的程序,升级了最新的版本,但是还编译不过去,怎么整啊

我想运行 老师说的,flutter gallery的例子的程序,升级了最新的版本,但是还编译不过去,怎么整啊,

正在回答 回答被采纳积分+3

1回答

CrazyCodeBoy 2022-03-11 10:04:26

你将flutter升级到最新然后再运行它试试看

0 回复 有任何疑惑可以回复我~
  • 提问者 慕沐4183642 #1
    Execution failed for task ':package_info_plus:generateDebugRFile'.
    > Could not resolve all files for configuration ':package_info_plus:debugCompileClasspath'.
       > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.6.10.
         Required by:
             project :package_info_plus
          > Cannot find a version of 'org.jetbrains.kotlin:kotlin-stdlib' that satisfies the version constraints:
               Dependency path 'io.flutter.plugins.packageinfo:package_info_plus:1.0-SNAPSHOT' --> 'org.jetbrains.kotlin:kotlin-stdlib:1.6.10'
               Constraint path 'io.flutter.plugins.packageinfo:package_info_plus:1.0-SNAPSHOT' --> 'org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.5.31}' because of the following reason: dependency was locked to version '1.5.31'
    回复 有任何疑惑可以回复我~ 2022-03-11 14:21:07
  • 提问者 慕沐4183642 #2
    > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.5.31}.
         Required by:
             project :package_info_plus
          > Cannot find a version of 'org.jetbrains.kotlin:kotlin-stdlib' that satisfies the version constraints:
               Dependency path 'io.flutter.plugins.packageinfo:package_info_plus:1.0-SNAPSHOT' --> 'org.jetbrains.kotlin:kotlin-stdlib:1.6.10'
               Constraint path 'io.flutter.plugins.packageinfo:package_info_plus:1.0-SNAPSHOT' --> 'org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.5.31}' because of the following reason: dependency was locked to version '1.5.31'
    回复 有任何疑惑可以回复我~ 2022-03-11 14:22:00
  • 提问者 慕沐4183642 #3
    > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.5.31.
         Required by:
             project :package_info_plus > androidx.window:window-java:1.0.0-beta04
             project :package_info_plus > androidx.window:window:1.0.0-beta04
          > Cannot find a version of 'org.jetbrains.kotlin:kotlin-stdlib' that satisfies the version constraints:
               Dependency path 'io.flutter.plugins.packageinfo:package_info_plus:1.0-SNAPSHOT' --> 'org.jetbrains.kotlin:kotlin-stdlib:1.6.10'
               Constraint path 'io.flutter.plugins.packageinfo:package_info_plus:1.0-SNAPSHOT' --> 'org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.5.31}' because of the following reason: dependency was locked to version '1.5.31'
    回复 有任何疑惑可以回复我~ 2022-03-11 14:22:35
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信