After creating a custom icon using 'npx ignite cli generate app icon all -- skip source quality validation', an APK cannot be built. #2542
Replies: 3 comments 2 replies
-
Tested and used normally in the debug environment, I want to build APK, but it cannot succeed. Yarn bundle: Android Yarn release: Android |
Beta Was this translation helpful? Give feedback.
-
Hi, I thought it was a problem with using the "npx ignite cli generate app icon all -- skip source quality validation" command before producing the app. Just now I used 'npx' ignite-cli@latest The new PizzaApp has recreated the project, but still cannot package the APK, the same problem as the one above: 'Resource and asset merge: Duplicate resources'. The following are the results of the 'npx ignite cli doctor': $npx ignite cli doctor Npm WARN exec The following package was not found and will be installed: [email protected] System Platform win32 Arch x64 CPU 12 cores Intel (R) Core (TM) i5-10500 CPU @ 3.10GHz Directory SpiderSMS D: sy web SpiderSMS JavaScript (and globally installed packages) Node 18.17.0 C: Program Files nodejs node EXE Npm 10.1.0 C: Program Files nodejs npm CMD Corepack 0.18.0 NPM 10.1.0 Pnpm 8.7.5 React native cli 2.0.1 Yarn 1.22.19 Yarn 1.22.19 C: Program Files nodejs yarn CMD Pnpm 8.7.5 C: Program Files nodejs pnpm CMD Expo48.0.21 managed Ignite IGNITE-CLI 8.10.1 C: Users sxy AppData Local npm cache_ Npx e31027f3785124a8 node_ Modules . Bin ignite.CMD IGNITE src build C: Users sxy AppData Local npm cache_ Npx e31027f3785124a8 node_ Modules ignite cli build Android Java 11.0.20 C: Program Files Java jdk-11 bin java EXE Android home - C: Users sxy AppData Local Android Sdk Tools Git git version 2.40.0. windows-1 C: Program Files Git mingw64 bin git EXE |
Beta Was this translation helpful? Give feedback.
-
yarn release:android
FAILURE: Build completed with 2 failures. 1: Task failed with an exception.
2: Task failed with an exception.
BUILD FAILED in 1m 7s |
Beta Was this translation helpful? Give feedback.
-
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Execution failed for task ':app:mergeReleaseResources'.
2: Task failed with an exception.
What went wrong:
java.lang.StackOverflowError (no error message)
Try:
BUILD FAILED in 18s
48 actionable tasks: 6 executed, 42 up-to-date
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Beta Was this translation helpful? Give feedback.
All reactions