Closed zr6328 closed 8 months ago
I believe this is not a bug of this software. Please see https://github.com/flutter/flutter/issues/113720. Thanks.
I believe this is not a bug of this software. Please see flutter/flutter#113720. Thanks.
no, this method can't help me.
What version of flutter-elinux are you using? Also build commands.
What version of flutter-elinux are you using? Also build commands.
this is the build commands $ flutter build bundle --asset-dir=${RESULT_DIR}/${BUILD_MODE}/bundle/data/flutter_assets $ cp ${FLUTTER_SDK}/bin/cache/artifacts/engine/linux-x64/icudtl.dat \ ${RESULT_DIR}/${BUILD_MODE}/bundle/data/
$ ${FLUTTER_SDK}/bin/cache/dart-sdk/bin/dart \ --verbose \ --disable-dart-dev ${FLUTTER_SDK}/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot \ --sdk-root ${FLUTTER_SDK}/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ \ --target=flutter \ --no-print-incremental-dependencies \ -Ddart.vm.profile=false \ -Ddart.vm.product=true \ --aot \ --tfa \ --packages .dart_tool/package_config.json \ --output-dill .dart_tool/flutter_build/flutter-embedded-linux/app.dill \ --depfile .dart_tool/flutter_build/flutter-embedded-linux/kernel_snapshot.d \ package:${APP_PACKAGE_NAME}/main.dart
$ ${FLUTTER_SDK}/bin/cache/artifacts/engine/linux-arm64-release/clang_x64/gen_snapshot \ --deterministic \ --snapshot_kind=app-aot-elf \ --elf=.dart_tool/flutter_build/flutter-embedded-linux/libapp.so \ --strip \ .dart_tool/flutter_build/flutter-embedded-linux/app.dill
$ cp .dart_tool/flutter_build/flutter-embedded-linux/libapp.so ${RESULT_DIR}/${BUILD_MODE}/bundle/lib/
- what is the build target?
Linux-x64 as the host, and Linux-arm64 as the target.
That is the official flutter tool. Did you try flutter-elinux instead of it? I recommend you to use flutter-elinux than manual commands with the flutter official tool.
That is the official flutter tool. Did you try flutter-elinux instead of it? I recommend you to use flutter-elinux than manual commands with the flutter official tool.
ok, i will try it.
That is the official flutter tool. Did you try flutter-elinux instead of it? I recommend you to use flutter-elinux than manual commands with the flutter official tool.
In flutter-elinux , i can also build the libapp.so?
I'm not sure what you want to do, but you can build flutter apps with that tool. See Wiki.
I'm not sure what you want to do, but you can build flutter apps with that tool. See Wiki. I want to build the libapp.so that can run i linux-arm64 in linux-x64 platform. Now, when I use the cross-build method, that can not run in linux-arm64.
I'm not sure what you want to do, but you can build flutter apps with that tool. See Wiki. I want to build the libapp.so that can run i linux-arm64 in linux-x64 platform. Now, when I use the cross-build method, that can not run in linux-arm64.
I'm not sure what you want to do, but you can build flutter apps with that tool. See Wiki.
When i run the command of flutter-elinux doctor, i can't find the /cache/artifacts/engine/linux-x64/icudtl.dat in the directory of bin
You can build flutter apps with flutter-elinux and build artifacts can be found in under build directory. See https://github.com/sony/flutter-elinux/wiki/Building-flutter-apps
If you use a target for normal Linux not elinux, please ask questions in flutter official repo.
You can build flutter apps with flutter-elinux and build artifacts can be found in under build directory. See https://github.com/sony/flutter-elinux/wiki/Building-flutter-apps
I have clone the flutter-elinux, and run the flutter-elinux doctor, but In the bin's directory, i cant't find the directory of artifacts
You should read Wiki in flutter-elinux before asking here.
In linux-x64,we can find the symbol of registerWith in libapp.so,but in linux-arm64,we can't find the symbol of registerWith in libapp.so
the plugin's pubspec.yaml look like this:
the dart_plugin_registrant.dart look like this: