Open ly132806 opened 2 months ago
android14 device?
is android13
Does flutter doctor --android-licenses
work?
This error occurs after uninstalling flutter and reinstalling and running flutter doctor --android-licenses
This error occurs after uninstalling flutter and reinstalling and running flutter doctor --android-licenses
flutter run
or flutter build apk --debug
.termux-x11
, use flutter run -d linux
.Uninstall termux, reinstall termux, flutter and android-sdk, run flutter build apk --debug, and an error occurs
~/flutterdemo/wechat_demo $ flutter build apk --debug
Running Gradle task 'assembleDebug'... Checking the license for package Android SDK Platform 34 in /data/data/com.termux/files/usr/opt/android-sdk/licenses
Running Gradle task 'assembleDebug'... License for package Android SDK Platform 34 accepted.
Running Gradle task 'assembleDebug'... Preparing "Install Android SDK Platform 34 (revision: 3)".
Running Gradle task 'assembleDebug'... "Install Android SDK Platform 34 (revision: 3)" ready.
Running Gradle task 'assembleDebug'... Installing Android SDK Platform 34 in /data/data/com.termux/files/usr/opt/android-sdk/platforms/android-34
Running Gradle task 'assembleDebug'... "Install Android SDK Platform 34 (revision: 3)" complete.
Running Gradle task 'assembleDebug'... "Install Android SDK Platform 34 (revision: 3)" finished.
Running Gradle task 'assembleDebug'... Target debug_android_application failed: ProcessException: strerror_r failed
Running Gradle task 'assembleDebug'... Command: /data/data/com.termux/files/usr/opt/flutter/bin/cache/artifacts/engine/linux-arm64/impellerc --sksl --runtime-stage-gles --runtime-stage-vulkan --iplr --sl=/data/data/com.termux/files/home/flutterdemo/wechat_demo/build/app/intermediates/flutter/debug/flutter_assets/shaders/ink_sparkle.frag --spirv=/data/data/com.termux/files/home/flutterdemo/wechat_demo/build/app/intermediates/flutter/debug/flutter_assets/shaders/ink_sparkle.frag.spirv --input=/data/data/com.termux/files/usr/opt/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag --input-type=frag --include=/data/data/com.termux/files/usr/opt/flutter/packages/flutter/lib/src/material/shaders --include=/data/data/com.termux/files/usr/opt/flutter/bin/cache/artifacts/engine/linux-arm64/shader_lib
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception.
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... * What went wrong:
Running Gradle task 'assembleDebug'... Execution failed for task ':app:compileFlutterBuildDebug'.
Running Gradle task 'assembleDebug'... > Process 'command '/data/data/com.termux/files/usr/opt/flutter/bin/flutter'' finished with non-zero exit value 1
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... * Try:
Running Gradle task 'assembleDebug'... > Run with --stacktrace option to get the stack trace.
Running Gradle task 'assembleDebug'... > Run with --info or --debug option to get more log output.
Running Gradle task 'assembleDebug'... > Run with --scan to get full insights.
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... * Get more help at https://help.gradle.org
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... BUILD FAILED in 4m 55s
Running Gradle task 'assembleDebug'... 296.5s
Gradle task assembleDebug failed with exit code 1
What's the output of this command?
/data/data/com.termux/files/usr/opt/flutter/bin/cache/artifacts/engine/linux-arm64/impellerc --sksl --runtime-stage-gles --runtime-stage-vulkan --iplr --sl=/data/data/com.termux/files/home/flutterdemo/wechat_demo/build/app/intermediates/flutter/debug/flutter_assets/shaders/ink_sparkle.frag --spirv=/data/data/com.termux/files/home/flutterdemo/wechat_demo/build/app/intermediates/flutter/debug/flutter_assets/shaders/ink_sparkle.frag.spirv --input=/data/data/com.termux/files/usr/opt/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag --input-type=frag --include=/data/data/com.termux/files/usr/opt/flutter/packages/flutter/lib/src/material/shaders --include=/data/data/com.termux/files/usr/opt/flutter/bin/cache/artifacts/engine/linux-arm64/shader_lib
~/flutterdemo/wechat_demo $ /data/data/com.termux/files/usr/opt/flutter/bin/cache/artifacts/engine/linux-arm64/impellerc --sksl --runtime-stage-gles --runtime-stage-vulkan --iplr --sl=/data/data/com.termux/files/home/flutterdemo/wechat_demo/build/app/intermediates/flutter/debug/flutter_assets/shaders/ink_sparkle.frag --spirv=/data/data/com.termux/files/home/flutterdemo/wechat_demo/build/app/intermediates/flutter/debug/flutter_assets/shaders/ink_sparkle.frag.spirv --input=/data/data/com.termux/files/usr/opt/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag --input-type=frag --include=/data/data/com.termux/files/usr/opt/flutter/packages/flutter/lib/src/material/shaders --include=/data/data/com.termux/files/usr/opt/flutter/bin/cache/artifacts/engine/linux-arm64/shader_lib
bash: /data/data/com.termux/files/usr/opt/flutter/bin/cache/artifacts/engine/linux-arm64/impellerc: cannot execute: required file not found
Back to Flutter 3.19.0 is running fine, not compatible with Flutter 3.24.1
I get an error, what should I do