英文:
Flutter rive_core cached package gives error: The class 'DependencySorter' is abstract and can't be instantiated
问题
我在问题标题中遇到了错误。我期望的情况是制作一个iOS构建,并让代码在连接到我的MacBook的设备上运行。flutter doctor
没有显示错误。
但实际上,我一直遇到这个错误:
我尝试过的方法有:(尝试顺序不一)
flutter clean
删除pod文件并运行pod install
flutter pub cache clean
flutter pub cache repair
英文:
I have come across the error in the question title. What I expect to happen is that a iOS build is made and for the code to then run on a device connected to my macBook. flutter doctor
gives no errors.
Instead of completing, I keep having this error:
Things I have tried are: (Not in order of trying)
flutter clean
deleting pod files and running pod install
flutter pub cache clean
flutter pub cache repair
答案1
得分: 3
我需要更新rive版本到最新版本(在我们的情况下是0.11.2,从0.10.4),这也已经在依赖于这个项目的其他项目上完成了。
英文:
Turns out I needed to update the rive version to latest (in our case 0.11.2, from 0.10.4) this was also done on projects that this one depends on.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论