abner / flutter_js

A Javascript engine to use with flutter. It uses quickjs on Android and JavascriptCore on IOS
MIT License
473 stars 121 forks source link

Build failed in android with flutter version 3.24.0 #156

Open saminsohag opened 2 months ago

saminsohag commented 2 months ago

Command:

flutter build apk --split-per-abi

Output:


Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 1868 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_js:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/Users/sohag/Documents/Projects/Flutter/fanim/example/build/flutter_js/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
Running Gradle task 'assembleRelease'...                           12.0s
Gradle task assembleRelease failed with exit code 1
MSOB7YY commented 2 months ago

https://github.com/flutter/flutter/issues/153281#issuecomment-2287902896