美文网首页
flutter引第三方组件报错

flutter引第三方组件报错

作者: 王冥 | 来源:发表于2023-10-22 17:04 被阅读0次

Error
Could not open proj generic class cache for build file ‘C:\Users\ר Ī Mmagicbookpro\AppData\Local\Pub\Cache\hosted[pub.flutter-io.cn](https://link.zhihu.com/?target=http%3A//pub.flutter-io.cn)\path_provider_android-2.0.24\android\build.gradle’ (C:\Users\ר Ī Mmagicbookpro.gradle\caches\7.5\scripts\ort01p669xmumymo0xlksof0).

BUG! exception in phase ‘semantic analysis’ in source unit ‘BuildScript’ Unsupported class file major version 63

Failed to notify project evaluation listener.

Could not get unknown property ‘android’ for project ‘:path_provider_android’ of type org.gradle.api.Project.

Could not get unknown property ‘android’ for project ‘:path_provider_android’ of type org.gradle.api.Project.

Solution
1、There are Chinese or special characters in your username
2、Is the jdk version too low? Run flutter doctor to check the environment
3、[图片上传失败...(image-2e1404-1698051857254)] 多了个//package android

相关文章

网友评论

      本文标题:flutter引第三方组件报错

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