Cargokit BuildTool failed with error
Is there an existing issue for this?
- [X] I have searched the existing issues
Flutter Quill version
No response
Steps to reproduce
flutter doctor
Expected results
Actual results
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
flutter_quill: 9.4.0 flutter_quill_extensions: 9.4.0
Can you update to the last version (9.5.12) and test if this issue persist?
I'm unfamiliar with Rust and only used it once, we could send detailed reports in super_native_extensions though we have sent quite a lot of reports recently that are not quite specific, I would suggest waiting to avoid making noise.
Or we could extract super_clipboard plugin from flutter_quill_extensions to flutter_quill_super_clipboard to make it optional when using flutter_quill_extensions, a workaround, for now, is to avoid using flutter_quill_extensions or manually exclude the dependency plugin super_clipboard when including flutter_quill_extensions.
Android support
The NDK version used is specified in android/app/build.gradle of your Flutter project.
android {
// by default the project uses NDK version from flutter plugin.
ndkVersion flutter.ndkVersion
If you have older Flutter android project, you will need to specify a reasonably recent minimal SDK version in android/app/build.gradle:
android {
defaultConfig {
minSdkVersion 23
To be able to write images and other custom data to Android clipboard you need to declare a content provider in AndroidManifest.xml:
<manifest>
<application>
...
<provider
android:name="com.superlist.super_native_extensions.DataProvider"
android:authorities="<your-package-name>.SuperClipboardDataProvider"
android:exported="true"
android:grantUriPermissions="true" >
</provider>
...
</application>
</manifest>
Be sure to replace
This should be no longer an issue when using flutter_quill without flutter_quill_extensions (See #1914).
New versions have been released, I will update flutter_quill_extensions to use the latest version of super_clipboard (0.8.20) as the new minimum version. Feel free to open a new issue if this issue persists.
* Where:
Script '/Users/a/.pub-cache/hosted/pub.dev/super_native_extensions-0.8.20/cargokit/gradle/plugin.gradle' line: 65
* What went wrong:
Execution failed for task ':super_native_extensions:cargokitCargoBuildSuper_native_extensionsRelease'.
> Process 'command '/Users/a/.pub-cache/hosted/pub.dev/super_native_extensions-0.8.20/cargokit/gradle/../run_build_tool.sh'' finished with non-zero exit value 69
flutter_quill: ^10.5.9
flutter_quill_extensions: ^10.5.9
Seems still exist @EchoEllet
- Can you share on which platform you're building the app?
- Have you ran
flutter cleanand thenflutter pub get --verboseand share the full output (on GitHub Gist or Hastebin)? - Can you run
flutter doctor -vand share the output? - Can you confirm if you have updated Android SDK to the latest version (both
SDK PlatformsandSDK Tools)? By opening the SDK Manager and then confirming the SDK Components Setup once you click on Edit. - Do you have Rust installed? The
supper_clipboardplugin will automatically download precompiled binaries for the target platform.
- Can you share on which platform you're building the app?
- Have you ran
flutter cleanand thenflutter pub get --verboseand share the full output (on GitHub Gist or Hastebin)?- Can you run
flutter doctor -vand share the output?- Can you confirm if you have updated Android SDK to the latest version (both
SDK PlatformsandSDK Tools)? By opening the SDK Manager and then confirming the SDK Components Setup once you click on Edit.- Do you have Rust installed? The
supper_clipboardplugin will automatically download precompiled binaries for the target platform.
Thank you for reply.
I find the wrong document, by install rust, everything works now. Thank you.
Have a good day.