Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error: font missing #24

Open
crackedmodmenu opened this issue Jul 3, 2023 · 6 comments
Open

Build error: font missing #24

crackedmodmenu opened this issue Jul 3, 2023 · 6 comments

Comments

@crackedmodmenu
Copy link

Not found NotoSansEthiopic-Regular

Error: Exception in thread "main" java.io.IOException: Can not find the font file NotoSansEthiopic-Regular for language am
at com.android.recovery.tools.ImageGenerator.loadFontsByLocale(ImageGenerator.java:399)
at com.android.recovery.tools.ImageGenerator.createGraphics(ImageGenerator.java:492)
at com.android.recovery.tools.ImageGenerator.measureTextWidth(ImageGenerator.java:500)
at com.android.recovery.tools.ImageGenerator.generateImage(ImageGenerator.java:618)
at com.android.recovery.tools.ImageGenerator.main(ImageGenerator.java:755)
[ 99% 25070/25095] //system/security/keystore2:libkeystore2 rustc src/lib.rs
ninja: build stopped: subcommand failed.
19:40:59 ninja failed with: exit status 1
Error: Process completed with exit code 1.

ghost pushed a commit to PitchBlackRecoveryProject/android_device_xiaomi_fleur-pbrp that referenced this issue Aug 10, 2023
@manu-palmero
Copy link

Did you fix it?

@crackedmodmenu
Copy link
Author

yes

@manu-palmero
Copy link

How?

@crackedmodmenu
Copy link
Author

stay in source dir & run this and build

cd external/noto-fonts/other &&wget https://github.com/ShazuxD/extras/raw/main/font.zip &&unzip -o font.zip &&cd ../../..

@manu-palmero
Copy link

That GitHub user does not exist :(

@cd-Crypton
Copy link

That GitHub user does not exist :(

Try this, @manu06202579. Make sure you are in root source.

cd external/noto-fonts/other && wget https://github.com/cd-Crypton/custom-recovery-extras/raw/main/missing-font.zip && unzip -o missing-font.zip && cd ../../..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants