CryptoWallet docs
v3.0.0
Get help
● Ship · Troubleshooting

Common errors
and how to fix them.

The problems beginners hit most, with the message you see and the fix.

Search with /

01Build problems

Windows

Run the commands in PowerShell. Use .\gradlew.bat for ./gradlew, and $env:JAVA_HOME = "..." for export JAVA_HOME=....

"Unsupported class file major version" or "requires Java 17" or "Toolchain ... 21 not found"

Gradle is using the wrong JDK. The project needs JDK 21. Point JAVA_HOME at Android Studio's bundled JBR (macOS: /Applications/Android Studio.app/Contents/jbr/Contents/Home; Windows: C:\Program Files\Android\Android Studio\jbr), or in Android Studio set Settings, Build Tools, Gradle, Gradle JDK to "jbr-21". Check with java -version.

"Failed to find target with hash string 'android-36'" or "SDK location not found"

The Android SDK Platform 36 is missing, or Gradle cannot find the SDK. Install Android 16 (API 36) in Android Studio's SDK Manager and make sure app/local.properties has sdk.dir=/path/to/Android/sdk (on Windows sdk.dir=C\:\\Users\\you\\AppData\\Local\\Android\\Sdk).

"./gradlew: Permission denied" or the Gradle wrapper does not start

On macOS or Linux run chmod +x gradlew. Run the command from the app folder, where gradlew is. The first run downloads Gradle 9.6.0 from services.gradle.org, so it needs internet access; behind a proxy set the proxy in ~/.gradle/gradle.properties.

Out of memory during the build

org.gradle.jvmargs in app/gradle.properties is -Xmx3g. Close other programs, or raise it if your machine has the memory.

"engine node: wanted >=26" when running the console

Your Node.js is older than 26. Install Node.js 26 LTS and run node -v again.

npm ci fails to build better-sqlite3

Use Node.js 26 LTS (a prebuilt binary is then available). On Windows without a prebuilt binary, install the Visual Studio Build Tools "Desktop development with C++" workload, then run npm ci again. Or set DATABASE_URL to a Postgres database.

02Problems in the running app

MissingRpcException: No RPC URL configured for <network>

The app was asked to use a network that has no RPC address in its configuration. Open the console, Chains, make sure the network is switched on and has a public RPC URL (or a keyed URL under RPC keys), save, and wait for the app to refresh its configuration (ten minutes, or restart the app). Check the Status page for "Every enabled chain's RPC answers".

not_configured from the swap proxy (HTTP 503)

The backend refuses to quote because setup is incomplete: no 0x key, or a fee setting it cannot send as is (a share above 1000 bps, an address that is not a valid address, or fee lists of different lengths). Open Swap and fee, set and Test the 0x key, fix the fee lines, and check Status, "0x key works" and "Swap fee settings are valid". The user sees a neutral message, not your key problem.

feature_disabled (404) on swap or assistant

The feature is switched off in the console. Switch on "Offer swaps" or the assistant.

rate_limited (429)

A budget is used up. Raise the per-IP or total budget in the console (stay below your 0x or CoinGecko plan), and retry after a minute.

upstream_unavailable (503)

0x, CoinGecko, your node or the AI provider did not answer, or refused your key. Check Service usage for errors, press Test next to the key, and check the provider's status page.

The home screen says no token is set

Set the Project token in the console, with a valid contract on an enabled network. Status says why a token was dropped.

No price is shown

On test networks there is no price. On main networks tick "CoinGecko lists this token" only if it does, and check Prices and the CoinGecko Test button.

"Calm" swap not shown, unknown-contract warning appears

The app could not verify the swap, usually because the phone cannot reach the public RPC endpoints pinned in the app. The swap still works behind the warning. Try another network connection.

Push campaign sent but nobody receives it

Check that app/app/google-services.json belongs to the same Firebase project as the backend and matches your application id, that the build was not made with -PnoPush=true, and that the user said yes to announcements (Settings shows the switch). See Push.

03"Blocked for your safety" on the signing screen

A BLOCK verdict means the request cannot be signed from this wallet, by design, and nothing was sent. The usual cause is an unlimited token approval requested by a dapp or a swap site. Approve only the amount needed (most sites let you edit it). Other BLOCK reasons are a recipient that is the zero address, a signature meant for another network, and a claim that sends value. The text on the screen names the reason. There is no setting to turn blocks off in the app.

04Console problems

I lost the setup code

Restart the server while no owner exists: it prints a new code. Or set ADMIN_SETUP_TOKEN yourself and restart.

"Stored secrets cannot be read" after moving the console

ADMIN_SECRET_KEY changed or is missing. Put the original value back; if it is lost, enter the keys again.

Changes do not reach the app

Check the Status page for "App config written to Firestore" and the History page for your save. The app refreshes every ten minutes; restart it to see the change at once.

Firestore "permission denied" or "could not load credentials"

Check GOOGLE_APPLICATION_CREDENTIALS points to a valid service-account file of the right project, or set FIREBASE_PROJECT_ID.