Building Chrome APK missing JDK

374 views
Skip to first unread message

Look Hi

unread,
Jan 5, 2024, 11:37:25 PM1/5/24
to Chromium-dev
I encountered an error while compiling Chrome APK while pulling the latest code. I don't
know how to handle it, can you help me?


```
~/chromium/src$ autoninja -C out/Default chrome_public_apk
ninja: Entering directory `out/Default'
ninja: error: '../../third_party/jdk/current/bin/java', needed by 'obj/chrome/android/chrome_public_apk.dex.jar', missing and no known rule to make it
```

Aquibuzzaman Md. Sayem

unread,
Jan 10, 2024, 1:12:44 AM1/10/24
to Chromium-dev, Look Hi
Please follow build instructions from here: https://chromium.googlesource.com/chromium/src/+/main/docs/android_build_instructions.md

My guess is that you may have missed gclient sync or runhooks.

Lets Study

unread,
Feb 26, 2024, 12:54:47 PM2/26/24
to Chromium-dev, Aquibuzzaman Md. Sayem, Look Hi
hello everyone;
I don't have any errors, but I can't run it on the emulator and the .apk file is not created when I build. Compilation takes a long time and it doesn't give any errors, but the .apk file is not created and I couldn't find it. I wonder if someone could help?

10 Ocak 2024 Çarşamba tarihinde saat 09:12:44 UTC+3 itibarıyla Aquibuzzaman Md. Sayem şunları yazdı:
Reply all
Reply to author
Forward
0 new messages