Szaki/XiaomiADBFastbootTools

Font error (or wrong language?) on macOS

HHPio opened this issue · 7 comments

HHPio commented

Hi,

I'm having this weird font issue on my M1 Mac:

Bildschirmfoto 2021-06-17 um 13 01 27

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
Screen Shot 2021-07-27 at 16 10 36
Maybe this is the solution.

Niek commented

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

XiaomiADBFastbootTools

Long Term Solution

Fix the underlying problem but I know nothing about Java :(