worawit / blutter

Flutter Mobile Application Reverse Engineering Tool
MIT License
760 stars 128 forks source link

Dart V2.14.2 是否支持啊? #29

Open bluepeople1 opened 6 months ago

bluepeople1 commented 6 months ago

支持的Dart版本是多少啊?Dart V2.14.2是不是不行啊,报这个错:

Dart version: 2.14.2, Snapshot: a2eb9c8f76afc3bc3df585126eefc79c, Target: android arm64

In file included from /Users/wangsheng/workspace/dingtalk/blutter/build/blutter_dartvm2.14.2_android_arm64/CMakeFiles/blutter_dartvm2.14.2_android_arm64.dir/cmake_pch_arm64.hxx:5: /Users/wangsheng/workspace/dingtalk/blutter/blutter/src/pch.h:43:19: error: unknown type name 'ImmutableLinkedHashMap'; did you mean 'UntaggedLinkedHashMap'? using ConstMap = ImmutableLinkedHashMap; ^ /Users/wangsheng/workspace/dingtalk/blutter/packages/include/dartvm2.14.2/vm/raw_object.h:2997:7: note: 'UntaggedLinkedHashMap' declared here class UntaggedLinkedHashMap : public UntaggedLinkedHashBase { ^ In file included from :1: In file included from /Users/wangsheng/workspace/dingtalk/blutter/build/blutter_dartvm2.14.2_android_arm64/CMakeFiles/blutter_dartvm2.14.2_android_arm64.dir/cmake_pch_arm64.hxx:5: /Users/wangsheng/workspace/dingtalk/blutter/blutter/src/pch.h:45:19: error: unknown type name 'ImmutableLinkedHashSet'; did you mean 'UntaggedLinkedHashSet'? using ConstSet = ImmutableLinkedHashSet; ^ /Users/wangsheng/workspace/dingtalk/blutter/packages/include/dartvm2.14.2/vm/raw_object.h:3001:7: note: 'UntaggedLinkedHashSet' declared here class UntaggedLinkedHashSet : public UntaggedLinkedHashBase { ^ In file included from :1: In file included from /Users/wangsheng/workspace/dingtalk/blutter/build/blutter_dartvm2.14.2_android_arm64/CMakeFiles/blutter_dartvm2.14.2_android_arm64.dir/cmake_pch_arm64.hxx:5: /Users/wangsheng/workspace/dingtalk/blutter/blutter/src/pch.h:49:18: error: use of undeclared identifier 'kImmutableLinkedHashMapCid' kConstMapCid = kImmutableLinkedHashMapCid, ^ /Users/wangsheng/workspace/dingtalk/blutter/blutter/src/pch.h:51:18: error: use of undeclared identifier 'kImmutableLinkedHashSetCid' kConstSetCid = kImmutableLinkedHashSetCid, ^ 4 errors generated.

worawit commented 5 months ago

The oldest Dart version is 2.16. From the error message, I can say the program still not support it.

worawit commented 5 months ago

In latest commit, the program should support Dart 2.14 but without code analysis.