* What went wrong: Could not open settings remapped class cache for bq3hllkgb26p0nrblf5gh8d37

* What went wrong:
Could not open settings remapped class cache for bq3hllkgb26p0nrblf5gh8d37 (C:\Users\Admin\.gradle\caches\5.6.2\scripts-remapped\settings_dji3rc5a2usjoml0dvda22q2o\bq3hllkgb26p0nrblf5gh8d37\settings8410a2d21ed2f87c8a0398566330ee52).
> Could not open settings generic class cache for settings file 'D:\FlutterProject\flutter_wan_android\android\settings.gradle' (C:\Users\Admin\.gradle\caches\5.6.2\scripts\bq3hllkgb26p0nrblf5gh8d37\settings\settings8410a2d21ed2f87c8a0398566330ee52).
   > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 57

纠结了几天,原来在Android工程里面修改下gradle版本号就好了,我的5.6.2报错,我的最新版本是6.7, 改为最新的就可以正常运行了

* What went wrong: Could not open settings remapped class cache for bq3hllkgb26p0nrblf5gh8d37_第1张图片

 

你可能感兴趣的:(Flutter)