I'm newbie to build a chrome for Android by myself. But I couldn't resolve this error after few days struggling. Hope someone big guy can help, thanks in advance.
fetch --nohooks android
I got an error:
yuhui@yuhui:~/Desktop$ fetch --nohooks android
/home/yuhui/Desktop/depot_tools/vpython3: line 57: /home/yuhui/Desktop/depot_tools/.cipd_bin/vpython3: No such file or directory
The `.cipd_bin` directory does NOT exist:
yuhui@yuhui:~/Desktop$ ls -l depot_tools/.cipd_bin
ls: cannot access 'depot_tools/.cipd_bin': No such file or directory
As this thread said, run `update_depot_tools` before fetch, but I still got error:
yuhui@yuhui:~/Desktop$ update_depot_tools
/home/yuhui/Desktop/depot_tools/bootstrap_python3: line 32: boots...@3.11.8.chromium.35_bin/python3/bin/python3: No such file or directory
It looks like I don't have the specified python3 located in the desired directory.
I've noted that I don't have directory boots...@3.11.8.chromium.35_bin in depot_tools at all:
yuhui@yuhui:~/Desktop$ ls -l depot_tools/bootstrap*
-rw-rw-r-- 1 yuhui yuhui 984 Dec 21 09:06 depot_tools/bootstrap_python3
depot_tools/bootstrap:
total 56
-rw-rw-r-- 1 yuhui yuhui 19224 Dec 21 09:06 bootstrap.py
-rwxrwxr-x 1 yuhui yuhui 519 Dec 21 09:06
git-bash.template.sh-rw-rw-r-- 1 yuhui yuhui 475 Dec 21 09:06 git.template.bat
-rw-rw-r-- 1 yuhui yuhui 1009 Dec 21 09:06 manifest_bleeding_edge.txt
-rw-rw-r-- 1 yuhui yuhui 979 Dec 21 09:06 manifest.txt
-rwxrwxr-x 1 yuhui yuhui 609 Dec 21 09:06
profile.d.python.sh-rw-rw-r-- 1 yuhui yuhui 2165 Dec 21 09:06 python3.bat
-rw-rw-r-- 1 yuhui yuhui 5925 Dec 21 09:06 README.md
-rw-rw-r-- 1 yuhui yuhui 2850 Dec 21 09:06 win_tools.bat
So I guess there might be something wrong with the bootstrap process? But I am really newbie to the process of building chromium, hope someone can give me guidance.
Thank you!
------
Host Machine: Windows 10
Virtual Machine (where I ran those commands): Ubuntu 24.04.1 LTS