Я выполнил приведенную ниже команду для сборки на своем мобильном телефоне Android:
Код: Выделить всё
flutter build apk --releaseКод: Выделить всё
Font asset "BoxIcons.ttf" was tree-shaken, reducing it from 320764 to 888 bytes (99.7% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when bu ilding your app. Font asset "Iconsax.ttf" was tree-shaken, reducing it from 992800 to 2992 bytes (99.7% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when bu ilding your app.
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 3440 bytes (99.8% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-ico ns flag when building your app.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':read_pdf_text:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR: /home/ruban/YAVAR/CLONE/prive_app/build/read_pdf_text/intermediates/merged_res/release/mergeReleaseResources/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 8s
Running Gradle task 'assembleRelease'...
Gradle task assembleRelease failed with exit code 1
9.35
Помогите мне решить эту проблему.
Подробнее здесь: https://stackoverflow.com/questions/791 ... ease-build
Мобильная версия