Need help with chromium asan build for android

265 views
Skip to first unread message

RA

unread,
Jul 18, 2025, 2:09:47 PMJul 18
to Chromium-dev
Hello,

I've tried building chromium asan for android x86 and it successfully installs but when I open, it gives this error message saying `your device couldn't open Chrome. To fix this issue, download the latest chrome update from your app store`

my gn args are:
target_os = "android"
target_cpu = "x86"
use_remoteexec = false
is_component_build = false
is_asan = true

I've attached logs during opening chromium and gn_logs after installation.
gn_logs.txt
Screenshot 2025-07-18 223552.png
logcat.txt

Alesandro Ortiz

unread,
Aug 20, 2025, 2:33:33 PMAug 20
to Chromium-dev, RA
Hello,

I've tried this in the past and have also run into the same issue on Android. I had a similar issue on WIndows but that was resolved by disabling component builds. Since it's disabled here, not sure why it's not working.

Re-reading that old thread, maybe try setting is_debug to false? That's also mentioned here for Android: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/asan.md#building-on-android

Hopefully someone else in group has some insights into why this isn't working on Android or if there's better docs somewhere.

Regards,
Alesandro

Alesandro Ortiz

unread,
Aug 20, 2025, 2:45:20 PMAug 20
to Chromium-dev, Alesandro Ortiz, RA
Looking at the logcat you attached, seems like someone had nearly identical issue in 2022, but it's unclear how they resolved it (if at all): https://issues.chromium.org/issues/40852256

They suspected OOM but might have been red herring in logs.

Regards,
Alesandro

Reply all
Reply to author
Forward
0 new messages