Skip to content

dart run setup.dart occurs an error :PathNotFoundException: #2516

@zhaichenyang001

Description

@zhaichenyang001

run cmd: dart run setup.dart in pkgs/jni/bin
the generated pkgs/jni/bin/.dart_tool/jni/jni_native_build_xxx/ without Debug Folder, what caused that?

dart run setup.dart
selecting source directories for dependencies: (jni)
Target newer than source, skipping build.

  • [.dart_tool\jni\jni_native_build_a7b83b0e] cmake F:\Project\FlutterThirdPart06\native\pkgs\jni\src\
  • [.dart_tool\jni\jni_native_build_a7b83b0e] cmake --build .
    JNI_DEV_TAG dllDirUri: .dart_tool/jni/jni_native_build_a7b83b0e/Debug
    JNI_DEV_TAG dllDir: Directory: '.dart_tool\jni\jni_native_build_a7b83b0e\Debug'
    Unhandled exception:
    PathNotFoundException: Directory listing failed, path = '.dart_tool\jni\jni_native_build_a7b83b0e\Debug*' (OS Error: 系统找不到指定的路径。
    , errno = 3)
    #0 _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:42:24)
    Update README.md #1 _Directory.listSync (dart:io/directory_impl.dart:228:5)
    Empty packages for native_assets_cli and c_compiler #2 main (file:///F:/Project/FlutterThirdPart06/native/pkgs/jni/bin/setup.dart:282:30)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions