XiaomiADBFastbootTools
XiaomiADBFastbootTools copied to clipboard
Font error (or wrong language?) on macOS
Hi,
I'm having this weird font issue on my M1 Mac:

I did install several JDK/JRE versions but the problem still exists.
Thanks
Same issue
same
same
Same. @Szaki any comments on this?
Anyone else able run it properly on M1 MAC?
I wasn't able to find a fix for this.
@mangatinanda I hope this error log can help you
Maybe this is the solution.
Fix:
brew install adaptopenjdk
Short Term Solution
# Install the Eclipse Temurin Java Development Kit. It used to be known as "adaptopenjdk"
# You can also obtain it from https://adoptium.net
brew install temurin # This is a cask that will ask you for your password
# We're gonna set an alias to maintain our sanity
# Place this in ~/.bash_profile or ~/.zshrc if you're gonna be using this often
alias ojava="/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java"
# Run it once to try it out, you could stop here and be done with it but if you're a repeating user, see below
ojava -jar XiaomiADBFastbootTools.jar
# Create batch script to make life easier
echo "/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java -jar XiaomiADBFastbootTools.jar&" | tee XiaomiADBFastbootTools.sh
chmod +x XiaomiADBFastbootTools.sh
# From now on...
./XiaomiADBFastbootTools.sh
Long Term Solution
Fix the underlying problem but I know nothing about Java :(