The Problem: You selected "Capacitor" in the UI dropdown, but you uploaded a Cordova .zip project (or vice versa). The build engine immediately fails because it cannot find the expected configuration files (e.g., looking for capacitor.config.ts but finding config.xml).
The Solution: Ensure your selected UI option perfectly matches the source code you are providing.
Read about Project Framework Type Read about Project Source CodeThe Problem: Your build fails during the Android compilation phase (Gradle sync/build errors) or during npm install due to incompatible dependencies.
The Cause: You selected a Reference (Image Tag) that uses a toolchain too new for your project. Each image version strictly dictates the Gradle and Node.js versions used. For example, if your project's plugins rely on an older Gradle version (e.g., Gradle 8.7), but you select a "v2.x" image tag (which forces Gradle 8.13+ and newer Node versions), the compilation will break.
The Solution: Switch the Reference Tag in the UI (e.g., change from Latest v2.x to Stable v1.0.0) to downgrade the build engine to an environment that matches your project's historical dependencies.
Read about Reference (Image Tags)The Problem: Your build fails specifically because a third-party package tries to run a bash script during installation (e.g., node-sass failing to compile).
The Solution: Check your Build Settings. If you turned ON "NPM Script Security", the engine blocks post-install scripts. You may need to disable this setting if your project legitimately relies on those compilation hooks.
Read about Build Settings