Skip to content

Building CakeWallet for Android fails when using Docker #2850

@lbeder

Description

@lbeder

Describe the bug

Following the steps at https://github.com/cake-tech/cake_wallet/blob/dev/docs/builds/ANDROID.md fails with the error: Could not find bin/ffigen.dart in package ffigen

Please find the build log attached below

To Reproduce

Build using docker:

docker run -v$(pwd):$(pwd) -w $(pwd) -i --rm ghcr.io/cake-tech/cake_wallet:debian13-flutter3.32.0-ndkr28-go1.24.1-ruststablenightly bash -x << EOF
set -x -e
pushd scripts/android
    # ./build_torch.sh
    source ./app_env.sh cakewallet
    # source ./app_env.sh monero.com # Uncomment this line to build monero.com
    ./app_config.sh
    ./build_monero_all.sh
    ./build_decred.sh
    ./build_mwebd.sh
popd
pushd android/app
    [[ -f key.jks ]] || keytool -genkey -v -keystore key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias testKey -noprompt -dname "CN=CakeWallet, OU=CakeWallet, O=CakeWallet, L=Florida, S=America, C=USA" -storepass hunter1 -keypass hunter1
popd

Expected behavior
Successful build

Platform:

OS: Ubuntu 24.04.3 LTS x64
Cake Wallet Version: main

Additional context
Full output attached

build_log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions